Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Create Message Extension

$
0
0

I have added a message extension to message packet,which can send image directly rather than send  image file.But I dont't konw how to display my extension information when I reopen the chatroom.I studied the source code of spark find that the history message was saved to a xml file,such as to ,from and body information.I try to use  method of newMessage.addExtension(ext) to save extenion information.Unfortunately,it doesn't work.Then,I put the extension information into the <body> tag,howerver,I use BASE64 encoded to store my image data.Thus,I don't konw where and when I should turn data in <body> tag into imge data since common information and extension information both stored in <body> tag.


Viewing all articles
Browse latest Browse all 4979

Trending Articles