aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-30 21:09:02 -0800
committerfriendica <info@friendica.com>2014-01-30 21:09:02 -0800
commitaaa3c62efa2999d083063a0384b3a23b758d3380 (patch)
treeab76ed407bb18d4d7156d5d9ffb253cee0a9fcfa
parentdeaf93db71c451b59f0a64ae7d16828d06e7c620 (diff)
downloadvolse-hubzilla-aaa3c62efa2999d083063a0384b3a23b758d3380.tar.gz
volse-hubzilla-aaa3c62efa2999d083063a0384b3a23b758d3380.tar.bz2
volse-hubzilla-aaa3c62efa2999d083063a0384b3a23b758d3380.zip
keep presence updated - typo was causing it to logout
-rw-r--r--mod/chatsvc.php2
-rw-r--r--view/tpl/chat.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/chatsvc.php b/mod/chatsvc.php
index d76a87462..f32ea56ce 100644
--- a/mod/chatsvc.php
+++ b/mod/chatsvc.php
@@ -111,7 +111,7 @@ function chatsvc_content(&$a) {
$r = q("update chatpresence set cp_last = '%s' where cp_room = %d and cp_xchan = '%s' and cp_client = '%s' limit 1",
dbesc(datetime_convert()),
- intval($room_id),
+ intval($a->data['chat']['room_id']),
dbesc(get_observer_hash()),
dbesc($_SERVER['REMOTE_ADDR'])
);
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl
index f3f3ee5bd..19b3425da 100644
--- a/view/tpl/chat.tpl
+++ b/view/tpl/chat.tpl
@@ -1,6 +1,6 @@
<div id="chatContainer" style="height: 100%; width: 100%;">
- <div id="chatTopBar" style="float: left; height: 400px; width: 400px; overflow-y: auto;">
+ <div id="chatTopBar" style="float: left; height: 400px; width: 650px; overflow-y: auto;">
<div id="chatLineHolder"></div>
</div>