aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/diaspora_conversation.tpl
blob: dc4482e4b0e40df115137d4a5f34cd0c9cead5da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<XML>
  <post>
    <conversation>
      <guid>{{$conv.guid}}</guid>
      <subject>{{$conv.subject}}</subject>
      <created_at>{{$conv.created_at}}</created_at>

      {{foreach $conv.messages as $msg}}

      <message>
        <guid>{{$msg.guid}}</guid>
        <parent_guid>{{$msg.parent_guid}}</parent_guid>
        {{if $msg.parent_author_signature}}
        <parent_author_signature>{{$msg.parent_author_signature}}</parent_author_signature>
        {{/if}}
        <author_signature>{{$msg.author_signature}}</author_signature>
        <text>{{$msg.text}}</text>
        <created_at>{{$msg.created_at}}</created_at>
        <diaspora_handle>{{$msg.diaspora_handle}}</diaspora_handle>
        <conversation_guid>{{$msg.conversation_guid}}</conversation_guid>
      </message>

      {{/foreach}}

      <diaspora_handle>{{$conv.diaspora_handle}}</diaspora_handle>
      <participant_handles>{{$conv.participant_handles}}</participant_handles>
    </conversation>
  </post>
</XML>