iijlab / direct-hs

Client library for https://direct4b.com in Haskell
8 stars 1 forks source link

Add talk room when receiving notify_create_pair_talk / notify_create_group_talk #97

Closed igrep closed 4 years ago

igrep commented 4 years ago

notify_create_pair_talk is sent only when the client's user creates a PairTalk with the peer for the first time. No new talk room is created after the first time.

Due to such little frequency, I tried reusing the code for the handlers as much as possible.

See 02a65907a1a78c7b3e52d033708ba6bf2f48a408 for example message when receiving notify_create_pair_talk and notify_create_group_talk for reference.

igrep commented 4 years ago

Thanks!