keep presence updated - typo was causing it to logout
This commit is contained in:
parent
deaf93db71
commit
aaa3c62efa
@ -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",
|
$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()),
|
dbesc(datetime_convert()),
|
||||||
intval($room_id),
|
intval($a->data['chat']['room_id']),
|
||||||
dbesc(get_observer_hash()),
|
dbesc(get_observer_hash()),
|
||||||
dbesc($_SERVER['REMOTE_ADDR'])
|
dbesc($_SERVER['REMOTE_ADDR'])
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div id="chatContainer" style="height: 100%; width: 100%;">
|
<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 id="chatLineHolder"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user