Commit 1c296aec authored by Alexander Ivanov's avatar Alexander Ivanov

Filter out status messages for the history export. Fixes #99.

parent 17f2672a
...@@ -511,6 +511,8 @@ public class MessageManager implements OnLoadListener, OnPacketListener, ...@@ -511,6 +511,8 @@ public class MessageManager implements OnLoadListener, OnPacketListener,
final String userName = RosterManager.getInstance().getName( final String userName = RosterManager.getInstance().getName(
account, user); account, user);
for (MessageItem messageItem : abstractChat.getMessages()) { for (MessageItem messageItem : abstractChat.getMessages()) {
if (messageItem.getAction() != null)
continue;
final String name; final String name;
if (isMUC) { if (isMUC) {
name = messageItem.getResource(); name = messageItem.getResource();
......
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