aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chat.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-02 15:50:07 -0800
committerfriendica <info@friendica.com>2014-02-02 15:50:07 -0800
commit67899677db8bde044284aaec6237559a68a27b6a (patch)
treed9f34238fc2500a4bbb0b9113e908ed231ebfc80 /view/tpl/chat.tpl
parent02e4527de682042562dccac83899ef562c4b1e05 (diff)
downloadvolse-hubzilla-67899677db8bde044284aaec6237559a68a27b6a.tar.gz
volse-hubzilla-67899677db8bde044284aaec6237559a68a27b6a.tar.bz2
volse-hubzilla-67899677db8bde044284aaec6237559a68a27b6a.zip
make chat honour the pause key (but we still need to ping the server to maintain the in_room status), also the recent change to pull css out of the template file used classes instead of ids so none of the styles were sticking
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);
}