]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
can't repeat your own notice posted through realtime
authorEvan Prodromou <evan@status.net>
Tue, 15 Dec 2009 21:19:11 +0000 (16:19 -0500)
committerEvan Prodromou <evan@status.net>
Tue, 15 Dec 2009 21:19:11 +0000 (16:19 -0500)
plugins/Realtime/realtimeupdate.js

index b57451e20555262f4af9a7b173187cf8a07d9f7a..281d3d82de5175aee43369c70b64eb6c1076b239 100644 (file)
@@ -173,8 +173,7 @@ RealtimeUpdate = {
                ni = ni+RealtimeUpdate.makeReplyLink(data['id'], data['user']['screen_name']);
                if (RealtimeUpdate._userid == responsible['id']) {
                     ni = ni+RealtimeUpdate.makeDeleteLink(data['id']);
-               }
-               else {
+               } else if (RealtimeUpdate._userid != user['id']) {
                     ni = ni+RealtimeUpdate.makeRepeatForm(data['id'],  session_key);
                }
           }