keep presence updated - typo was causing it to logout

This commit is contained in:
friendica 2014-01-30 21:09:02 -08:00
parent deaf93db71
commit aaa3c62efa
2 changed files with 2 additions and 2 deletions

View File

@ -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'])
);

View File

@ -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>