mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Merge branch '3.0.x'
This commit is contained in:
commit
b7ceab9537
@ -149,14 +149,13 @@ public function jsonify($raw = false) {
|
|||||||
case self::TYPE_INFORMATION:
|
case self::TYPE_INFORMATION:
|
||||||
$separator = ':';
|
$separator = ':';
|
||||||
break;
|
break;
|
||||||
case self::TYPE_JOIN:
|
|
||||||
unset($additionalData['ipAddress']);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
$separator = '';
|
$separator = '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->type == self::TYPE_JOIN) unset($additionalData['ipAddress']);
|
||||||
|
|
||||||
$time = \wcf\util\DateUtil::getDateTimeByTimestamp($this->time);
|
$time = \wcf\util\DateUtil::getDateTimeByTimestamp($this->time);
|
||||||
$startOfDay = new \DateTime('today', WCF::getUser()->getTimezone());
|
$startOfDay = new \DateTime('today', WCF::getUser()->getTimezone());
|
||||||
$array = array(
|
$array = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user