aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chat.tpl
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-02-03 08:03:46 +0100
committermarijus <mario@localhost.localdomain>2014-02-03 08:03:46 +0100
commit5c885e91a36bdbdd0829c2950b54bb84288e05a9 (patch)
treec17bcc246b68dd4a53b7883f81f596f82cc1e3fc /view/tpl/chat.tpl
parent11efafb5d2b9a6b860772e4c4cec0cde5c1bf248 (diff)
parentee42079685dd4df721b1090bdaa0d86316e3358a (diff)
downloadvolse-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.tpl4
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);
}