This commit is contained in:
hrxiang
2021-10-11 09:22:56 +08:00
parent 239b0893d5
commit 91f40333dc
13 changed files with 27 additions and 25 deletions

View File

@@ -44,14 +44,13 @@ class MessageManager {
bool onlineUserOnly = false,
}) {
return _channel.invokeMethod(
'sendMessage',
_buildParam({
'message': message.toJson(),
'receiver': userID ?? '',
'groupID': groupID ?? '',
'onlineUserOnly': onlineUserOnly,
}))
/*.then((value) => _toObj(value))*/;
'sendMessage',
_buildParam({
'message': message.toJson(),
'receiver': userID ?? '',
'groupID': groupID ?? '',
'onlineUserOnly': onlineUserOnly,
})) /*.then((value) => _toObj(value))*/;
}
/// Find all history message

View File

@@ -4,4 +4,4 @@
// MethodChannel _channel;
//
// OfflinePushManager(this._channel);
// }
// }