1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-10-31 15:35:04 -04:00

Fixed wrong broadcast on using /query

This commit is contained in:
Sebastian Kaspari 2010-04-14 20:28:13 +02:00
parent 77c3a2423f
commit fdbd8a06ca

View File

@ -57,12 +57,13 @@ public class QueryHandler extends BaseHandler
throw new CommandException("Query already exists");
}
server.addConversationl(new Query(params[1]));
query = new Query(params[1]);
server.addConversationl(query);
Intent intent = Broadcast.createConversationIntent(
Broadcast.CONVERSATION_MESSAGE,
Broadcast.CONVERSATION_NEW,
server.getId(),
conversation.getName()
query.getName()
);
service.sendBroadcast(intent);
} else {