diff options
author | marijus <mario@localhost.localdomain> | 2014-02-03 08:03:46 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2014-02-03 08:03:46 +0100 |
commit | 5c885e91a36bdbdd0829c2950b54bb84288e05a9 (patch) | |
tree | c17bcc246b68dd4a53b7883f81f596f82cc1e3fc /view/tpl/chat.tpl | |
parent | 11efafb5d2b9a6b860772e4c4cec0cde5c1bf248 (diff) | |
parent | ee42079685dd4df721b1090bdaa0d86316e3358a (diff) | |
download | volse-hubzilla-5c885e91a36bdbdd0829c2950b54bb84288e05a9.tar.gz volse-hubzilla-5c885e91a36bdbdd0829c2950b54bb84288e05a9.tar.bz2 volse-hubzilla-5c885e91a36bdbdd0829c2950b54bb84288e05a9.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/tpl/chat.tpl')
-rw-r--r-- | view/tpl/chat.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index eb98063fa..e4cd1d20b 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -47,8 +47,8 @@ $('#chat-form').submit(function(ev) { function load_chats() { - $.get("chatsvc?f=&room_id=" + room_id + '&last=' + last_chat,function(data) { - if(data.success) { + $.get("chatsvc?f=&room_id=" + room_id + '&last=' + last_chat + ((stopped) ? '&stopped=1' : ''),function(data) { + if(data.success && (! stopped)) { update_inroom(data.inroom); update_chats(data.chats); } |