Commit Graph

1167 Commits

Author SHA1 Message Date
Karlatemp
db7e196239
Fix "member -xxxxx not in group xxxxx" 2020-09-18 20:25:06 +08:00
Him188
9eed2b94ae Merge branch 'dev' 2020-09-16 12:36:04 +08:00
Him188
21d26a2760 Fix duplication filtering in OnlinePushReqPush. close #527 2020-09-16 10:49:06 +08:00
Him188
ac7dcbd070 Fix OnlinePushPbPushTransMsg, close #482 2020-09-16 10:44:44 +08:00
Him188
cf66a7c065 Filter duplicated SystemMsgNewGroup, close #449 2020-09-16 10:40:56 +08:00
Him188
a059267868 Revert "Fix potential packet missing in NewContact"
This reverts commit 636f4cbe
2020-09-16 10:37:39 +08:00
Him188
3135d0486d Log Unknown Transformers528 0x14 template into bot.network.logger 2020-09-16 10:28:12 +08:00
Him188
69d8d3034f Rename c2cMessageSync to syncingController 2020-09-16 10:24:36 +08:00
Him188
636f4cbead Fix potential packet missing in NewContact 2020-09-16 10:24:17 +08:00
Him188
247a37da42 Introduce common SyncingCacheList 2020-09-16 10:15:00 +08:00
Him188
b76c23e647 Remove test code 2020-09-16 09:21:17 +08:00
Him188
cf03b561df Merge remote-tracking branch 'origin/dev' into dev 2020-09-16 09:08:40 +08:00
Him188
838b094487 Remove confusing At and space before QuoteReply, fix #522 2020-09-16 09:08:25 +08:00
sandtechnology
2d0fa69899
Try to fix #358 according to @Mrs4s comment (#509)
* try to fix #358 according to @Mar8s comment

* Disable mirror

* Cancel group coroutine when bot leave group and fire event separately

* Re-add 0x82 and 0x83

* Revert else logic

* Fix build

Co-authored-by: Him188 <Him188@mamoe.net>
2020-09-16 08:23:56 +08:00
Him188
22112d222b Fix PermissionDeniedException.message 2020-09-15 22:58:29 +08:00
Him188
8a7f56f90b Redesign nudge 2020-09-15 22:42:28 +08:00
sandtechnology
59f465f66b
Support Nudge (#600)
* Support Nudge message

* Delete duplicated code

* Renamed NudgeManager and using boolean return value in Nudge method

* Fix document and remove JvmSynthetic annotation

* Remove test code

* Add document for bot object

* use checkIsFriendImpl to instead cast operation

* Add a space between char and number

* Change the text of bot and member to reference

* Revert change in QQAndroidBotNetworkHandler

* Make debug log more clearly

* Support tracking chat target in FriendNudgeEvent

* Add LICENSE in NudgePacket.kt
2020-09-15 21:17:21 +08:00
Him188
4155a8f8ba Fix IndexOutOfBoundsException on relogin. Close #598 2020-09-15 20:56:53 +08:00
Him188
24afb61c55 Improve duplication filtering. Fix #249, fix #580, fix #581, fix #590, fix #542, fix #567 2020-09-15 20:52:18 +08:00
Him188
ffacea8089 Fix Bot.nick, close #566 2020-09-15 20:32:14 +08:00
Karlatemp
359c9cdc5f
Support Group Retrieve, fix #528 (#531)
* Support Group Retrieve, fix #528

* Code Review

- Fix unexpected member in owner changing event.
- Allocate group when changing the owner to the bot if group is missing.
2020-09-15 19:30:52 +08:00
yyuueexxiinngg
1faccc72f3
Add low level api for getting group honor members list. (#501)
* Add low level api for getting group honor members list.

* Remove default value for level name, unifies serialize result typing in GroupHonorTypeSerializer

* Remove unnecessary commas

* Remove filed 'bkn' from GroupHonorListData to prevent potential credential leak

* _GetGroupHonorList support getting ACTIVE data

* Add @SinceMirai("1.3.0") annotation to GroupHonorInfo

* Add @JvmStatic annotation, rename GroupHonorType.fromInt to .deserializeFromInt and make it internal
2020-09-15 12:54:02 +08:00
类C语言是一家
9f0f8c40aa
Update Tlv.kt (#525)
fix code format
2020-09-15 12:52:35 +08:00
Him188
19e8d8c6ed Fix group info, e.g. isMuteAll, isAllowMemberInvite. Close #286 2020-09-15 12:51:25 +08:00
Him188
1018f1e80e Remove duplicated space between QuoteReplys, fix #524 2020-09-15 12:15:56 +08:00
Him188
b15da90fee Remove duplicated space between Ats, fix #411 2020-09-15 12:15:29 +08:00
Him188
0294df4700 Use single thread for reading packet, fix #557 2020-09-15 10:29:51 +08:00
Him188
ec0ec396ef Improve exception message for PermissionDeniedException 2020-09-12 00:11:08 +08:00
Him188
568d37812b Add retry for syncing issues (#249, #482, #542, #567, #590) 2020-09-11 23:50:58 +08:00
Him188
4b25900ab8 Drop bad servers on failure, fix #589 2020-09-11 23:39:19 +08:00
Him188
bd4dcec68e Fix copyright 2020-08-23 19:57:09 +08:00
Him188
eb8f6c8829 Merge branch 'master' into dev 2020-08-22 14:03:11 +08:00
Him188
44d90c703f Exclude kotlinx-coroutines-core and kotlin-stdlib from dependencies to avoid clashes (fix #523) 2020-08-22 12:56:41 +08:00
Him188
3e4de4fa74 Merge remote-tracking branch 'origin/dev' into dev 2020-08-22 01:32:19 +08:00
Him188
146768ea10 Fix exception message in PermissionDeniedException 2020-08-22 01:30:38 +08:00
mzdluo123
8e3fb15556
Fix receiving messages repeatedly 2020-08-21 17:57:34 +08:00
Him188
7d4df0f952 Merge branch 'dev' 2020-08-19 20:45:11 +08:00
Him188
0dd4974250 Add blocking bridge for group.uploadVoice, close #512 2020-08-19 20:42:40 +08:00
Him188
088c2712d3 Merge branch 'dev' 2020-08-19 20:38:31 +08:00
Him188
9bf6a59d9b Fix #511: group.uploadImage causes compiler error in Java 2020-08-19 20:36:31 +08:00
Him188
1b67a9fcd8 Merge branch 'dev' 2020-08-19 10:44:41 +08:00
ryoii
5edcf410b6 [Fix conflict] ReNamed pb struct 2020-08-19 10:22:53 +08:00
Him188
31f688cdca Merge remote-tracking branch 'origin/dev' into dev 2020-08-19 10:22:23 +08:00
ryoii
2f5be83279 [Fix conflict] ReNamed pb struct 2020-08-19 10:21:02 +08:00
ryoii
faa7c4189f Merge remote-tracking branch 'origin/dev' into dev 2020-08-19 10:10:11 +08:00
ryoii
08a2753fde Merge branch 'dev1.3' into dev
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt
2020-08-19 10:09:03 +08:00
TheSnowfield
22d871c68a
update some unknown fields (#487)
* update some unknown fields in Tlv.kt

* 1 to true
2020-08-19 10:06:31 +08:00
Karlatemp
b42733ad15
Support Nick changed event (#507)
* Support Nick change

* Fix up FriendInfo

* @JvmField

* Update friend.kt

Co-authored-by: Him188 <Him188@mamoe.net>
2020-08-19 10:04:59 +08:00
Him188
b78c771430 Ignore inherited stdlib from kotlinx-io 2020-08-19 09:32:56 +08:00
Him188
679d61a6b1 Replace deprecated String.toMessage 2020-08-19 09:32:28 +08:00