toxon
/
lita-tox
Archived
1
0
Fork 0

Add argument "peer_number" for "on_group_message"

to distinguish self messages
This commit is contained in:
Braiden Vasco 2015-09-14 07:42:48 +00:00
parent 3acd610539
commit c4449c4e0a
1 changed files with 2 additions and 1 deletions

View File

@ -431,8 +431,9 @@ static void on_group_message(
rb_funcall(
rb_on_group_message,
rb_intern("call"),
2,
3,
LONG2FIX(group_number),
LONG2FIX(peer_number),
rb_str_new((char*)text, length)
);
}