CQHTTP 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/cqhttp-dbus +10 -10
- data/lib/CQHTTP/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25dd1848e39485775e9553c24bf1ff656d9f693d
|
4
|
+
data.tar.gz: db96b429faf6faf64f9ea6f01f5ab5dda60cdd64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be6732c1ae61c94c24a41da274746d9a6730c04ba4b2dadd9b6180fb763f5767a71b6789806163c11c6b528deb7052b9b9e711c80d60aaa2ba56267c83109daf
|
7
|
+
data.tar.gz: 54df1c349a40fbfdf5b890ec0f820788c143384c7ddd245e89a227d918edd06dab6faf4389341fd2c2e159d54a6c112af32c9f8a5f613bd34b379aebab3d7a67
|
data/exe/cqhttp-dbus
CHANGED
@@ -15,25 +15,25 @@ class CQHTTP2DBus < DBus::Object
|
|
15
15
|
@cqhttp.send func, JSON.parse(args, symbolize_names: true)
|
16
16
|
end
|
17
17
|
|
18
|
-
dbus_signal :message, 'message_type:s, json:s'
|
19
|
-
%i[private group get_group_list].each do |i|
|
20
|
-
dbus_signal i, 'json:s'
|
21
|
-
end
|
22
|
-
dbus_signal :event, 'event:s, json:s'
|
23
18
|
%i[
|
19
|
+
message
|
20
|
+
private
|
21
|
+
group
|
22
|
+
get_group_list
|
23
|
+
event
|
24
24
|
group_upload
|
25
25
|
group_admin
|
26
26
|
group_decrease
|
27
27
|
group_increase
|
28
28
|
friend_add
|
29
|
+
friend_request
|
30
|
+
join_request
|
31
|
+
invite_request
|
32
|
+
all
|
33
|
+
unknow
|
29
34
|
].each do |i|
|
30
35
|
dbus_signal i, 'json:s'
|
31
36
|
end
|
32
|
-
dbus_signal :friend_request, 'json:s'
|
33
|
-
dbus_signal :join_request, 'json:s'
|
34
|
-
dbus_signal :invite_request, 'json:s'
|
35
|
-
dbus_signal :all, 'json:s'
|
36
|
-
dbus_signal :unknow, 'json:s'
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
data/lib/CQHTTP/version.rb
CHANGED