Permalink
Browse files

Prepare some stuff, wil finish this later...

Signed-off-by: Suki <missallsunday@simplemachines.org>
  • Loading branch information...
1 parent ac3800e commit 5b42569a87f42a0771b5d665d48a1837d6f78b29 @MissAllSunday committed Aug 7, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 Sources/Breeze/BreezeNotifications.php
@@ -212,13 +212,29 @@ protected function doMention($noti)
if ($noti['user_to'] != $this->_currentUser)
return false;
+ /* We need to load some users info */
+
/* Is this a mention on a comment? */
if (isset($noti['comment_id']) && !empty($noti['comment_id']))
+ {
+ /* Is this the same user's wall? */
+ if ()
+ $text = sprintf();
+
+ /* This is someone elses wall, go figure... */
+ else
+ $text = sprintf();
+
+ /* Create the message already */
$this->_messages[] = sprintf();
+ }
/* No? then this is a mention made on a status */
else
+ {
$this->_messages[] = sprintf();
+
+ }
}
protected function delete($id)

0 comments on commit 5b42569

Please sign in to comment.