Commit Graph

4539 Commits

Author SHA1 Message Date
Karlatemp
1eecefd16e
Fix TarsDecoder
fix #762
2021-01-03 22:24:28 +08:00
Karlatemp
9c60961271
Fix display of At 2021-01-01 23:54:13 +08:00
Karlatemp
6bc67c7c48
Fix display of At 2021-01-01 23:51:24 +08:00
sandtechnology
1117c14c7d
Support Stranger & Fix #664 (#795)
* Introduce UserInfo and change uin to id

* Stranger api: List and asStranger

* Stranger api: Events

* Stranger api: MessageDSL and MessageSource

* Update docs

* Improve LoginSolver

fix project-mirai/mirai-login-solver-selenium#4

* Improve SeleniumLoginSolver loading

* Fix MessageChain.fragmented

* 2.0-M2-1

* Stranger api change: StrangerRelationChangeEvent

* Stranger impl: list and asStranger

* Stranger impl: get stranger list and del stranger protocol

* Stranger impl: add stranger protocol

* Stranger impl: MessageSource refactor and sending&receiving message

* Stranger impl: Dropping long message support (server rejected)

* Stranger impl: sending stranger message when member is stranger

* Fix wrong key

Co-authored-by: Him188 <Him188@mamoe.net>

* Add @LowLevelApi

Co-authored-by: Him188 <Him188@mamoe.net>

* Remove redundant val modifier

* Replace nudge if statement to when statement

* Move list seq to QQAndroidClient

* Replace id with uin in UserInfo and fix build error

* Using by lazy in asStranger

* Fix wrong wordings

* Fix wrong wordings in uploading image

* Fix nudge

Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-01-01 21:39:45 +08:00
Him188
6aa71daad2 2.0-M2-2 2021-01-01 17:34:09 +08:00
Him188
901c8b5267 Fix image upload, close #797 2021-01-01 17:07:39 +08:00
Him188
b482590ce1 Remove redundant checks 2021-01-01 16:15:55 +08:00
Him188
9c6780d5c4 Use DEFAULT_FORMAT_NAME 2021-01-01 16:15:35 +08:00
Him188
fc2df4b9ad Add implementation notes 2021-01-01 16:15:00 +08:00
Him188
fb8c17c6dc Add formatName parameters to uploadImage and sendImage extensions, improve docs 2021-01-01 16:09:29 +08:00
Him188
77a0fb4c34 Fix NormalMember.toString 2021-01-01 15:55:19 +08:00
Him188
1a1c15d0d3 Fix potential memory leak on login 2020-12-31 23:50:16 +08:00
Him188
31a5957509 Fix potential memory leak on login 2020-12-31 23:49:12 +08:00
Him188
68729cdcba Fix: Add parentScope for (ListenerHost&CoroutineScope).registerTo 2020-12-31 23:28:21 +08:00
Him188
c9cc29d1d4 Fix JavaApiTest 2020-12-31 21:00:49 +08:00
Him188
15f46985ec Update docs 2020-12-31 21:00:43 +08:00
Him188
393b3d52fb Update docs 2020-12-31 19:01:23 +08:00
Him188
5550fe2e22 Update docs 2020-12-31 19:00:37 +08:00
Him188
da6913f679 Update docs 2020-12-31 18:53:25 +08:00
Him188
1e3cd7b597 Update docs 2020-12-31 18:53:03 +08:00
Him188
1da229ac22 Update docs 2020-12-31 18:51:36 +08:00
Him188
3bfbf91589 Implement ForwardMessage.contentToString (returns "[转发消息]"), fix #781 2020-12-31 17:41:51 +08:00
Him188
c82eb29769 MarketFace should not implement CodableMessage 2020-12-31 17:33:31 +08:00
Him188
59b4bdfa8d Add @MiraiExperimentalApi to Voice properties 2020-12-31 17:22:13 +08:00
Him188
6919e40800 Update docs 2020-12-31 15:59:59 +08:00
Karlatemp
c966d9840e
Fix Bot.getFriend 2020-12-30 23:23:33 +08:00
Him188
8e93a2c32f
Delete FAQ.md 2020-12-30 22:56:49 +08:00
Him188
d33420c33d
Delete README.md 2020-12-30 22:54:00 +08:00
Karlatemp
6f007ae4a9
2.0-M2-1 2020-12-30 22:24:25 +08:00
Karlatemp
7a9557dab7
Fix MessageChain.fragmented 2020-12-30 22:17:44 +08:00
Him188
2fcaaa9e60 Merge remote-tracking branch 'origin/dev' into dev 2020-12-30 19:42:46 +08:00
Him188
5049836eaa Fix baseKeys of OnlineMessageSource.Outgoing and OnlineMessageSource.Incoming 2020-12-30 19:37:32 +08:00
Him188
8732cc1fc4 Bot.getFriend now returns Bot.asFriend if id == bot.id 2020-12-30 19:34:57 +08:00
Karlatemp
9ba4a99cb1
Improve SeleniumLoginSolver loading 2020-12-30 18:24:45 +08:00
Karlatemp
e9e9a12137
Improve LoginSolver
fix project-mirai/mirai-login-solver-selenium#4
2020-12-30 18:22:57 +08:00
Him188
490198e70c
Update Events.md 2020-12-29 03:51:10 +08:00
Him188
d33948ac14 Review nudge, stabilize nudge API. 2020-12-28 19:23:35 +08:00
Him188
084e18c204 Update docs 2020-12-28 19:20:49 +08:00
Him188
8ae8bdee64 Add Missing @MiraiInternalApi to ClientKind.get 2020-12-28 19:16:29 +08:00
Him188
d3febb3cf3 2.0-M2 2020-12-28 18:32:17 +08:00
Him188
b0e8859185 Update docs 2020-12-28 17:49:51 +08:00
Him188
027ed849bf Merge remote-tracking branch 'origin/dev' into dev 2020-12-28 17:46:14 +08:00
Him188
fcbc9cb344 Update docs 2020-12-28 17:45:49 +08:00
Karlatemp
dca1eab5a5
Improve voice upload 2020-12-28 17:44:19 +08:00
Him188
1600a76aa3 Update docs 2020-12-28 17:40:17 +08:00
Him188
9347d6baf6 Fix voice upload, fix #782 2020-12-28 16:39:30 +08:00
Him188
d8228c523e Fix voice transform 2020-12-28 16:03:17 +08:00
Him188
31a8932070 Fix voice upload 2020-12-28 15:10:47 +08:00
Him188
dfad8572ee Use OkHttp client than CIO 2020-12-28 15:10:32 +08:00
Him188
fc72811e2a Hide Message serializers and postpone implementations later 2020-12-28 14:20:51 +08:00