Xmpp Chat App Beginner

I am beginner of chat developer

Any can’t teach me, my code has any problem ???

because my

personal chat problem:

  • DeliveryReceiptManager can’t received after sender online back

  • message time

group chat problem:

  • message time

  • same issues of the DeliveryReceiptManager

  • i join group chat using DiscussionHistory to recover back the group message, it is correct ?

  • DiscussionHistory will make group chat receive multiple time of the message, so i need to check that message is insert to Database or no

  • other problem of the group chat is when internet is unstable, this problem will effect group chat miss out some message
    new 2.txt.zip (5153 Bytes)