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:
parent
77c3a2423f
commit
fdbd8a06ca
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user