DelayInformation info = (DelayInformation)message.getExtension("x","jabber:x:delay");
if (info != null) {
Date date = info.getStamp();
Log.e("离线消息", "收到离线消息, 时间:"+date.getTime());
}
2024-01-08 16:06:22
DelayInformation info = (DelayInformation)message.getExtension("x","jabber:x:delay");
if (info != null) {
Date date = info.getStamp();
Log.e("离线消息", "收到离线消息, 时间:"+date.getTime());
}