java - QBChatMessage.isMarkable() always returns false even after setting markable to true before sending message -


i'm working on android app, quickblox sdk. while implementation of private chat, i'm setting markable property of message true calling message.setmarkable(true) on qbchatmessage object before sending message.

below processmessage override function. here incoming qbchatmessage message has markable property false. due this, doesn't allow message 'read' using privatechat.readmessage() function.

@override public void processmessage(qbprivatechat chat, qbchatmessage message) {     log.w(tag, "new incoming message: " + message);      message.setmarkable(true);      chatactivity.showmessage(message);     if (message.ismarkable()) {         try {             privatechat.readmessage(message.getid());         } catch (xmppexception e) {          } catch (smackexception.notconnectedexception e) {          }     }  } 

let me know wrong here.

thanks in advance.

this fixed in sdk 2.2.2 2 months ago

http://quickblox.com/developers/android#framework_changelog


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -