summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-15 16:19:11 -0500
committerEvan Prodromou <evan@status.net>2009-12-15 16:19:11 -0500
commitf3d27cc3ae92e2b7412dd998d7de7a2b58dc8e6a (patch)
treee74945b7c5308681281f3a72abc1ce14aa9fb88c /plugins
parent608d1b206a01e1bd97e286a1003030ce89370913 (diff)
can't repeat your own notice posted through realtime
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Realtime/realtimeupdate.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index b57451e20..281d3d82d 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);
}
}