aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-01-15 21:57:36 +0100
committersteckbrief <steckbrief@chefmail.de>2016-01-15 21:57:36 +0100
commitd44debab6726edbac07901a2b94a07f2ef4771ee (patch)
treedda34feb85f53996cb5aa68063365ae3e8403195 /src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java
parent1f40166b3105ab78ce02339b16c9cb9eea921ec7 (diff)
Introducing some specialized IqPacketGenerators
- IqPacketGenerator - PubSubPacketGenerator - AvatarPacketGenerator
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java b/src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java
index fc764a88..f7f56f79 100644
--- a/src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java
+++ b/src/main/java/de/thedevstack/conversationsplus/parser/IqParser.java
@@ -58,19 +58,6 @@ public class IqParser extends AbstractParser implements OnIqPacketReceived {
mXmppConnectionService.updateRosterUi();
}
- public static String avatarData(final IqPacket packet) {
- final Element pubsub = packet.findChild("pubsub",
- "http://jabber.org/protocol/pubsub");
- if (pubsub == null) {
- return null;
- }
- final Element items = pubsub.findChild("items");
- if (items == null) {
- return null;
- }
- return AbstractParser.avatarData(items);
- }
-
@Override
public void onIqPacketReceived(final Account account, final IqPacket packet) {
if (packet.hasChild("query", Xmlns.ROSTER) && packet.fromServer(account)) {