mirror of https://github.com/zulip/zulip.git
Don't store into zephyr_dict in get_updates_longpoll
add_message already does this. (imported from commit 77e6ebf7c02794f6d4e0e9f8a42ecedc44d0402a)
This commit is contained in:
parent
07e1314462
commit
0379d828e1
|
@ -720,7 +720,6 @@ function get_updates_longpoll() {
|
|||
if (data && data.zephyrs) {
|
||||
$.each(data.zephyrs, function (dummy, zephyr) {
|
||||
add_message(dummy, zephyr);
|
||||
zephyr_dict[zephyr.id] = zephyr;
|
||||
zephyr_array.push(zephyr);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue