Commit Graph

946 Commits

Author SHA1 Message Date
Him188
4840a57b4a Transform VipFace as PlainText 2020-04-28 16:48:59 +08:00
Him188
9b4006222f Rework re-init, fix #282 2020-04-28 16:35:03 +08:00
Him188
40b8cabd5f Cleanup 2020-04-28 15:31:23 +08:00
Him188
20acc3c459 Support parsing VipFace 2020-04-28 15:25:43 +08:00
Him188
128125eec7 Support more poke messages 2020-04-28 14:59:57 +08:00
Him188
5be39d392a Fix warning 2020-04-27 19:11:28 +08:00
ryoii
7fee308b11 Fix anonymous bug 2020-04-26 17:01:18 +08:00
ryoii
73923d46f6 Parse anonymous chat, close #277 2020-04-26 16:51:28 +08:00
ryoii
f77169b7eb Merge remote-tracking branch 'origin/master' 2020-04-25 18:53:07 +08:00
ryoii
fb28435501 Fix: group code parse error for recall 2020-04-25 18:45:30 +08:00
Him188
c2388b101a Merge remote-tracking branch 'origin/master' 2020-04-25 18:44:48 +08:00
Him188
cbfb0191a2 Fix member name on parsing group message 2020-04-25 18:44:35 +08:00
ryoii
227d4e51d4 Fix: group code parse error, close #246 2020-04-25 18:29:47 +08:00
Him188
56fc3aa88b Add checks for empty message being sent 2020-04-25 13:14:57 +08:00
ryoii
15683a2661 Support query offline image url 2020-04-25 01:59:30 +08:00
ryoii
b3ea2faaae Fix onlineImage url parse on long message, close #250 2020-04-25 01:36:15 +08:00
ryoii
a03848da30 Improve delete notify 2020-04-25 00:40:20 +08:00
ryoii
bb3944d5ae Support handle bot invited into a group, close #259 2020-04-25 00:24:16 +08:00
ryoii
78b46ceabe Fix: PacketFactory for MessageSvc.Del 2020-04-24 21:34:07 +08:00
ryoii
769b6ce207 Delete notify uniformly 2020-04-24 21:24:56 +08:00
ryoii
f5112aaac5 Fix: delete notify sent from tx server 2020-04-24 21:17:35 +08:00
Him188
c8e20800a0 Fix #263 2020-04-24 16:45:45 +08:00
Him188
09524da1e9 Add docs, rearrange implementations 2020-04-24 16:41:21 +08:00
Him188
077885465b Add docs, rearrange implementations 2020-04-24 15:12:50 +08:00
Him188
b0fbb10150 Fix build 2020-04-24 09:13:58 +08:00
Him188
70f421aee8 Fix long message, unify logs 2020-04-23 21:56:29 +08:00
Him188
d584b765ab Halt bot when failed with LoginFailedException 2020-04-23 21:47:48 +08:00
Him188
437f9db575 Unified Image suffix: .mirai 2020-04-23 20:37:01 +08:00
Him188
65f45d6c84 Fix unmodified nameCard 2020-04-23 19:36:09 +08:00
Him188
4a217d83a6 Fix #247 2020-04-23 19:08:59 +08:00
Him188
6f69497247 Rearrange highway image upload 2020-04-23 18:36:21 +08:00
Him188
8e8f91bbee Send temp messages as friend messages if a target Member is also a friend 2020-04-23 18:36:04 +08:00
Him188
5b2ae6e9ad Simplify Image structure, close #244 2020-04-23 17:10:21 +08:00
Him188
eb123bb3a9 Fix #242 2020-04-23 14:46:30 +08:00
Him188
3eb9745485 Fix #231, fix #254 2020-04-23 14:32:00 +08:00
Him188
9531ed8a01 Fix build 2020-04-23 14:21:15 +08:00
Him188
83f721c59a Cleanup 2020-04-23 14:20:55 +08:00
Him188
1b4e1475a0 Support ForwardMessage DSL 2020-04-23 14:17:24 +08:00
Him188
454205a6af Add ContactMessage.time 2020-04-23 11:52:44 +08:00
Him188
200a140f38 Fix forward message displaying on TIM PC 2020-04-22 22:15:02 +08:00
Him188
1786c95e07 Support merged forward messages! 2020-04-22 22:09:53 +08:00
Him188
d9135cb8a3 Fix #248 2020-04-22 19:57:38 +08:00
Him188
3545482034 Fix #253 2020-04-22 18:39:10 +08:00
Him188
66f4620292 Add MessageSource.internalId, support OfflineMessageSource building 2020-04-22 18:35:30 +08:00
Him188
a63af80668 Deprecate QQ
Introduce `Friend` extending `User`
Introduce `User` acting as the superclass of `Friend` and `Member`

Add extensions `Member.asFriend`, etc.
Remove specialized `Contact.hashCode` and `Contact.equals`, inherit from `kotlin.Any`
Specify `toString` behavior in abstract `Contact` classes, instead of in implementation classes.

Add virtual member `Contact.sendMessage(String)`

Migrate the project from using `QQ` to `Friend`

Remove multiplatform Contact class structure, keep them common.

Remove extension `Long.at` in `GroupMessage`, `QQ.at` in `ContactMessage`.
Add `At.asMember()` in `GroupMessage`.

Make `calculateGroupUinByGroupCode`, `calculateGroupCodeByGroupUin` static on JVM.
2020-04-22 16:08:04 +08:00
Him188
41f1c12c8a Fix build 2020-04-22 11:27:14 +08:00
Him188
c425a809ba Fix #245 2020-04-21 14:53:24 +08:00
Him188
96610b30e3 Support CustomMessage 2020-04-20 21:26:16 +08:00
Him188
0689f84bf8 Cleanup 2020-04-20 17:03:41 +08:00
Him188
405696d9ac Use sequenceId as MessageSource.id, await sequenceId on Group.sendMessage 2020-04-18 16:56:18 +08:00