From: Evan Prodromou Date: Tue, 15 Dec 2009 21:19:11 +0000 (-0500) Subject: can't repeat your own notice posted through realtime X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3d27cc3ae92e2b7412dd998d7de7a2b58dc8e6a;p=quix0rs-gnu-social.git can't repeat your own notice posted through realtime --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index b57451e205..281d3d82de 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -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); } }