mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 11:42:55 +02:00
Fixes to clip_url overwriting
This commit is contained in:
parent
fb90ffec5c
commit
d75209cb37
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,8 @@ function getAction(channel, message, senderID) {
|
||||||
// Checking the id we can assign the correct url to the correct agent.
|
// Checking the id we can assign the correct url to the correct agent.
|
||||||
|
|
||||||
action = command.action_key;
|
action = command.action_key;
|
||||||
|
print("That command was for me!");
|
||||||
|
print("My clip is: " + clip_url);
|
||||||
} else {
|
} else {
|
||||||
action = DO_NOTHING;
|
action = DO_NOTHING;
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,6 +163,7 @@ function sendCommand(id, action) {
|
||||||
if(subscribed){
|
if(subscribed){
|
||||||
Messages.sendMessage(channel, JSON.stringify(message));
|
Messages.sendMessage(channel, JSON.stringify(message));
|
||||||
print("Message sent!");
|
print("Message sent!");
|
||||||
|
clip_url = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue