can't repeat your own notice posted through realtime

This commit is contained in:
Evan Prodromou 2009-12-15 16:19:11 -05:00
parent 608d1b206a
commit f3d27cc3ae

View 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);
}
}