Add argument "peer_number" for "on_group_message"
to distinguish self messages
This commit is contained in:
parent
3acd610539
commit
c4449c4e0a
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
|
Reference in New Issue