17.4.0.0
false
<{{ action }}Response xmlns="http://www.msn.com/webservices/AddressBook">
<{{ action }}Result>
{%- for activity in activities %}
{%- if activity.user %}
{%- set tile = 'https://' ~ settings.USERSTORAGE_HOST ~ '/avatar/' ~ activity.user.uuid ~ '/im' %}
{%- set profile = 'https://' ~ settings.WEBSITE_HOST ~ '/profile/+' ~ activity.user.username %}
{%- else %}
{%- set profile = activity.url or 'https://' ~ settings.WEBSITE_HOST %}
{%- endif %}
{{ owner_cid }}
{% if activity.type == 1 %}msgr_status_{{ activity.id }}{% elif activity.type == 3 %}msgr_dp_{{ activity.id }}{% elif activity.type == 2 %}msgr_photo_{{ activity.id }}{% else %}announcement_{{ activity.date_created.strftime('%Y%m%d%H%M%S') }}_{{ activity.id }}{% endif %}
{{ 1275182653 if activity.user else 420 }}
{{ activity.type|int }}
{{ date_format(activity.date_created) }}
{%- if activity.user %}
Live.RecentActivity.UserTileM{{ tile }}
Live.RecentActivity.UserTileL{{ tile }}
Live.RecentActivity.UserTileXL{{ tile }}
publisher
{{ cid_format(activity.user.uuid, decimal = True) }}
{{ activity.user.status.name|e }}
{{ tile }}
{{ profile }}
{{ bool_to_str(activity.user.uuid in detail.contacts and contact_is_favorite(detail, detail.contacts[activity.user.uuid])) }}
Live.RecentActivity.IsSelfPageUrltrue
AppName
{{ profile }}
{{ profile }}
{%- if activity.type == 3 %}
StatusText
has a new display picture
DisplayPicture
{{ tile }}
{{ profile }}
{{ profile }}
{%- elif activity.type == 2 %}
CanonicalStatusText
{{ (activity.text or 'shared a photo')|e }}
Photo
{{ activity.url|e }}
{{ activity.url|e }}
{{ activity.url|e }}
{%- else %}
CanonicalStatusText
{{ activity.text|e }}
{%- endif %}
{%- else %}
publisher
0
{{ activity.title|e }}
{{ profile|e }}
false
AppName
{{ profile|e }}
Announcements
{{ profile|e }}
CanonicalStatusText
{{ activity.text|e }}
{%- endif %}
1000000{{ activity.type|int if activity.user else 0 }}-0000-4000-8000-{{ '%012x'|format(activity.id) }}
0
{{ '%.7f'|format(1 / (1 + (now - activity.date_created).total_seconds() / 86400)) }}
false
0
false
{%- endfor %}
{%- if 3 in types %}
1275182653
Messenger
0
0
3
{{ locale|e }}
{{ locale|e }}
2116
One
{image:DisplayPicture style="floatleft"}
{publisher-id:publisher} {text:StatusText="has a new display picture"}
MessengerGrid
TypePhoto
PrimaryImage{image:DisplayPicture}
Publisher{publisher-id:publisher}
Action{text:StatusText="has a new display picture"}
status
photo
false
false
{%- endif %}
{%- if 2 in types %}
1275182653
Messenger
0
0
2
{{ locale|e }}
{{ locale|e }}
2116
One
{image:Photo style="floatleft"}
{publisher-id:publisher} {text:CanonicalStatusText}
MessengerGrid
TypePhoto
PrimaryImage{image:Photo}
Publisher{publisher-id:publisher}
Action{text:CanonicalStatusText}
status
photo
false
false
{%- endif %}
{%- for change_type, application_id, application_name in ((1, 1275182653, 'Messenger'), (20, 420, 'Announcements')) if change_type in types %}
{{ application_id }}
{{ application_name }}
0
0
{{ change_type }}
{{ locale|e }}
{{ locale|e }}
2116
One
{publisher-id:publisher} {text:CanonicalStatusText}
MessengerGrid
TypeStatus
Publisher{publisher-id:publisher}
Action{text:CanonicalStatusText}
{%- if change_type == 20 %}
Footervia {hlink:AppName}
{%- endif %}
status
false
false
{%- endfor %}
https://{{ settings.SOCIAL_HOST }}
{{ action }}Result>
{{ action }}Response>