changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r16494: LJSUP-5774

Committer: aurbanowich
LJSUP-5774
U   branches/oauth/cgi-bin/LJ/Event/UserMessageRecvd.pm
U   branches/oauth/cgi-bin/LJ/Event/UserMessageSent.pm
Modified: branches/oauth/cgi-bin/LJ/Event/UserMessageRecvd.pm
===================================================================
--- branches/oauth/cgi-bin/LJ/Event/UserMessageRecvd.pm	2010-04-02 07:54:12 UTC (rev 16493)
+++ branches/oauth/cgi-bin/LJ/Event/UserMessageRecvd.pm	2010-04-02 08:01:12 UTC (rev 16494)
@@ -233,9 +233,12 @@
 
     $res->{from} = $msg->other_u->user;
     $res->{picture} = $pic->url if $pic;
+    $res->{picture_id} = $pic->picid if $pic;
     $res->{subject} = $msg->subject;
     $res->{body} = $msg->body;
     $res->{msgid} = $msg->msgid;
+    $res->{msg_type} = $msg->type;
+    $res->{timesent} = $msg->timesent;
     $res->{parent} = $msg->parent_msgid if $msg->parent_msgid;
 
     return $res;

Modified: branches/oauth/cgi-bin/LJ/Event/UserMessageSent.pm
===================================================================
--- branches/oauth/cgi-bin/LJ/Event/UserMessageSent.pm	2010-04-02 07:54:12 UTC (rev 16493)
+++ branches/oauth/cgi-bin/LJ/Event/UserMessageSent.pm	2010-04-02 08:01:12 UTC (rev 16494)
@@ -129,8 +129,13 @@
 
     $res->{to} = $msg->other_u->user;
     $res->{picture} = $pic->url if $pic;
+    $res->{picture_id} = $pic->picid if $pic;
     $res->{subject} = $msg->subject;
     $res->{body} = $msg->body;
+    $res->{msgid} = $msg->msgid;
+    $res->{msg_type} = $msg->type;
+    $res->{timesent} = $msg->timesent;
+    $res->{parent} = $msg->parent_msgid if $msg->parent_msgid;
 
     return $res;
 }

Tags: changelog_bot, livejournal, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments