Commit e1de3059 by giaogiao

友盟推送

parent 54dcbd83
...@@ -171,7 +171,7 @@ public class ImConcreteReceiveStrategy extends AbstractReceiveStrategy { ...@@ -171,7 +171,7 @@ public class ImConcreteReceiveStrategy extends AbstractReceiveStrategy {
// 系统推送 // 系统推送
// 设备不想收到推送提醒, 1想, 0不想 // 设备不想收到推送提醒, 1想, 0不想
if (imClientReceiver.getValid() != 0 && imClientReceiver.getDeviceToken() != null) { if (imClientReceiver.getValid() != null && imClientReceiver.getValid() != 0 && imClientReceiver.getDeviceToken() != null) {
// 设备类型1:ios; 2:android // 设备类型1:ios; 2:android
if (imClientReceiver.getDeviceType() == 1) { if (imClientReceiver.getDeviceType() == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment