method setLastActivity documentation in bbn\Appui\Chat
function(string $id_chat, string $id_user)
{
if (bbn\Str::isUid($id_chat)
&& bbn\Str::isUid($id_user)
&& $this->isParticipant($id_chat, $id_user)
&& $this->db->update(
'bbn_chats_users', ['last_activity' => X::microtime()], [
'id_chat' => $id_chat,
'id_user' => $id_user
]
)
) {
return $this->_set_state_hash($id_chat);
}
return null;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions