@sockethub/irc2as 4.0.0-alpha.12 → 4.0.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,688 +0,0 @@
1
- export const TestData = [
2
- {
3
- "@context": [
4
- "https://www.w3.org/ns/activitystreams",
5
- "https://sockethub.org/ns/context/v1.jsonld",
6
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
7
- ],
8
- type: "update",
9
- actor: {
10
- type: "service",
11
- id: "localhost",
12
- name: "localhost",
13
- },
14
- object: {
15
- type: "topic",
16
- content: "- -",
17
- },
18
- },
19
- {
20
- "@context": [
21
- "https://www.w3.org/ns/activitystreams",
22
- "https://sockethub.org/ns/context/v1.jsonld",
23
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
24
- ],
25
- type: "update",
26
- actor: {
27
- type: "service",
28
- id: "localhost",
29
- name: "localhost",
30
- },
31
- object: {
32
- type: "topic",
33
- content:
34
- "- on the https://freenode.live website for our call for volunteers and call for - participation. " +
35
- "If you are interested in sponsoring next year's event, please - send us an e-mail to sponsor@freenode.live " +
36
- "- - Thank you for using freenode! - -",
37
- },
38
- },
39
- {
40
- "@context": [
41
- "https://www.w3.org/ns/activitystreams",
42
- "https://sockethub.org/ns/context/v1.jsonld",
43
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
44
- ],
45
- type: "update",
46
- actor: {
47
- type: "person",
48
- id: "donkey2018@localhost",
49
- name: "donkey2018",
50
- },
51
- target: { type: "person", id: "slvrbckt@localhost", name: "slvrbckt" },
52
- object: { type: "address" },
53
- },
54
- {
55
- "@context": [
56
- "https://www.w3.org/ns/activitystreams",
57
- "https://sockethub.org/ns/context/v1.jsonld",
58
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
59
- ],
60
- type: "update",
61
- actor: { type: "person", id: "slvrbckt@localhost", name: "slvrbckt" },
62
- target: {
63
- type: "person",
64
- id: "donkey2018@localhost",
65
- name: "donkey2018",
66
- },
67
- object: { type: "address" },
68
- },
69
- {
70
- "@context": [
71
- "https://www.w3.org/ns/activitystreams",
72
- "https://sockethub.org/ns/context/v1.jsonld",
73
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
74
- ],
75
- type: "leave",
76
- actor: { type: "person", id: "slvrbckt@localhost", name: "slvrbckt" },
77
- target: { type: "room", id: "localhost/#debian", name: "#debian" },
78
- object: { type: "message", content: "user has left the channel" },
79
- },
80
- {
81
- "@context": [
82
- "https://www.w3.org/ns/activitystreams",
83
- "https://sockethub.org/ns/context/v1.jsonld",
84
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
85
- ],
86
- type: "leave",
87
- actor: { type: "person", id: "jarlaxl_@localhost", name: "jarlaxl_" },
88
- target: { type: "service", id: "localhost" },
89
- object: { type: "message", content: "user has quit" },
90
- },
91
- {
92
- "@context": [
93
- "https://www.w3.org/ns/activitystreams",
94
- "https://sockethub.org/ns/context/v1.jsonld",
95
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
96
- ],
97
- type: "join",
98
- actor: { id: "localhost", type: "service" },
99
- error: "no such channel sdfsdfsdfsdfsdf",
100
- target: { id: "sdfsdfsdfsdfsdf@localhost", type: "person" },
101
- },
102
- {
103
- "@context": [
104
- "https://www.w3.org/ns/activitystreams",
105
- "https://sockethub.org/ns/context/v1.jsonld",
106
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
107
- ],
108
- type: "update",
109
- actor: { type: "person", id: "lio17@localhost", name: "lio17" },
110
- target: {
111
- type: "room",
112
- id: "localhost/#kosmos-random",
113
- name: "#kosmos-random",
114
- },
115
- object: { type: "topic", content: "testing123" },
116
- },
117
- {
118
- "@context": [
119
- "https://www.w3.org/ns/activitystreams",
120
- "https://sockethub.org/ns/context/v1.jsonld",
121
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
122
- ],
123
- type: "send",
124
- actor: {
125
- type: "person",
126
- id: "hyper_slvrbckt@localhost",
127
- name: "hyper_slvrbckt",
128
- },
129
- target: {
130
- type: "room",
131
- id: "localhost/#kosmos-random",
132
- name: "#kosmos-random",
133
- },
134
- object: { type: "message", content: "-ssssssss" },
135
- },
136
- {
137
- "@context": [
138
- "https://www.w3.org/ns/activitystreams",
139
- "https://sockethub.org/ns/context/v1.jsonld",
140
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
141
- ],
142
- type: "update",
143
- actor: { type: "person", id: "lio17@localhost", name: "lio17" },
144
- target: {
145
- type: "room",
146
- id: "localhost/#kosmos-random",
147
- name: "#kosmos-random",
148
- },
149
- object: { type: "topic", content: "no longer boating in senegal" },
150
- },
151
- {
152
- "@context": [
153
- "https://www.w3.org/ns/activitystreams",
154
- "https://sockethub.org/ns/context/v1.jsonld",
155
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
156
- ],
157
- type: "send",
158
- actor: { type: "person", id: "raucao@localhost", name: "raucao" },
159
- target: {
160
- type: "room",
161
- id: "localhost/#kosmos-random",
162
- name: "#kosmos-random",
163
- },
164
- object: {
165
- type: "me",
166
- content: "is thinking about sending someone to get b33rz",
167
- },
168
- },
169
- {
170
- "@context": [
171
- "https://www.w3.org/ns/activitystreams",
172
- "https://sockethub.org/ns/context/v1.jsonld",
173
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
174
- ],
175
- type: "update",
176
- object: { type: "presence", role: "member" },
177
- actor: {
178
- type: "person",
179
- id: "hyper_slvrbckt@localhost",
180
- name: "hyper_slvrbckt",
181
- },
182
- target: {
183
- type: "room",
184
- id: "localhost/#kosmos-random",
185
- name: "#kosmos-random",
186
- },
187
- },
188
- {
189
- "@context": [
190
- "https://www.w3.org/ns/activitystreams",
191
- "https://sockethub.org/ns/context/v1.jsonld",
192
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
193
- ],
194
- type: "update",
195
- object: { type: "presence", role: "member" },
196
- actor: {
197
- type: "person",
198
- id: "hyper_slvrbckt@localhost",
199
- name: "hyper_slvrbckt",
200
- },
201
- target: {
202
- type: "room",
203
- id: "localhost/#kosmos-random",
204
- name: "#kosmos-random",
205
- },
206
- },
207
- {
208
- "@context": [
209
- "https://www.w3.org/ns/activitystreams",
210
- "https://sockethub.org/ns/context/v1.jsonld",
211
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
212
- ],
213
- type: "update",
214
- object: { type: "presence", role: "member" },
215
- actor: {
216
- type: "person",
217
- id: "hyper_slvrbckt@localhost",
218
- name: "hyper_slvrbckt",
219
- },
220
- target: {
221
- type: "room",
222
- id: "localhost/#kosmos-random",
223
- name: "#kosmos-random",
224
- },
225
- },
226
- {
227
- "@context": [
228
- "https://www.w3.org/ns/activitystreams",
229
- "https://sockethub.org/ns/context/v1.jsonld",
230
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
231
- ],
232
- type: "update",
233
- object: { type: "presence", role: "member" },
234
- actor: {
235
- type: "person",
236
- id: "hyper_slvrbckt@localhost",
237
- name: "hyper_slvrbckt",
238
- },
239
- target: {
240
- type: "room",
241
- id: "localhost/#kosmos-random",
242
- name: "#kosmos-random",
243
- },
244
- },
245
- {
246
- "@context": [
247
- "https://www.w3.org/ns/activitystreams",
248
- "https://sockethub.org/ns/context/v1.jsonld",
249
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
250
- ],
251
- type: "update",
252
- actor: {
253
- type: "person",
254
- id: "hyper_slvrbckt@localhost",
255
- name: "hyper_slvrbckt",
256
- },
257
- target: {
258
- type: "room",
259
- id: "localhost/#kosmos-random",
260
- name: "#kosmos-random",
261
- },
262
- object: { type: "presence", role: "member" },
263
- },
264
- {
265
- "@context": [
266
- "https://www.w3.org/ns/activitystreams",
267
- "https://sockethub.org/ns/context/v1.jsonld",
268
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
269
- ],
270
- type: "update",
271
- actor: { type: "person", id: "gregkare@localhost", name: "gregkare" },
272
- target: {
273
- type: "room",
274
- id: "localhost/#kosmos-random",
275
- name: "#kosmos-random",
276
- },
277
- object: { type: "presence", role: "member" },
278
- },
279
- {
280
- "@context": [
281
- "https://www.w3.org/ns/activitystreams",
282
- "https://sockethub.org/ns/context/v1.jsonld",
283
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
284
- ],
285
- type: "update",
286
- actor: { type: "person", id: "slvrbckt@localhost", name: "slvrbckt" },
287
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
288
- object: { type: "presence", role: "member" },
289
- },
290
- {
291
- "@context": [
292
- "https://www.w3.org/ns/activitystreams",
293
- "https://sockethub.org/ns/context/v1.jsonld",
294
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
295
- ],
296
- type: "update",
297
- actor: { type: "person", id: "lio17@localhost", name: "lio17" },
298
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
299
- object: { type: "presence", role: "member" },
300
- },
301
- {
302
- "@context": [
303
- "https://www.w3.org/ns/activitystreams",
304
- "https://sockethub.org/ns/context/v1.jsonld",
305
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
306
- ],
307
- type: "update",
308
- actor: {
309
- type: "person",
310
- id: "M-silverbucket@localhost",
311
- name: "M-silverbucket",
312
- },
313
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
314
- object: { type: "presence", role: "member" },
315
- },
316
- {
317
- "@context": [
318
- "https://www.w3.org/ns/activitystreams",
319
- "https://sockethub.org/ns/context/v1.jsonld",
320
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
321
- ],
322
- type: "update",
323
- actor: { type: "person", id: "botka1@localhost", name: "botka1" },
324
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
325
- object: { type: "presence", role: "member" },
326
- },
327
- {
328
- "@context": [
329
- "https://www.w3.org/ns/activitystreams",
330
- "https://sockethub.org/ns/context/v1.jsonld",
331
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
332
- ],
333
- type: "update",
334
- actor: { type: "person", id: "derbumi@localhost", name: "derbumi" },
335
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
336
- object: { type: "presence", role: "member" },
337
- },
338
- {
339
- "@context": [
340
- "https://www.w3.org/ns/activitystreams",
341
- "https://sockethub.org/ns/context/v1.jsonld",
342
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
343
- ],
344
- type: "update",
345
- actor: { type: "person", id: "ChanServ@localhost", name: "ChanServ" },
346
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
347
- object: { type: "presence", role: "member" },
348
- },
349
- {
350
- "@context": [
351
- "https://www.w3.org/ns/activitystreams",
352
- "https://sockethub.org/ns/context/v1.jsonld",
353
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
354
- ],
355
- type: "update",
356
- actor: { type: "person", id: "gregkare@localhost", name: "gregkare" },
357
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
358
- object: { type: "presence", role: "member" },
359
- },
360
- {
361
- "@context": [
362
- "https://www.w3.org/ns/activitystreams",
363
- "https://sockethub.org/ns/context/v1.jsonld",
364
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
365
- ],
366
- type: "update",
367
- actor: { type: "person", id: "hal8000@localhost", name: "hal8000" },
368
- target: {
369
- type: "room",
370
- id: "localhost/#kosmos-random",
371
- name: "#kosmos-random",
372
- },
373
- object: { type: "presence", role: "member" },
374
- },
375
- {
376
- "@context": [
377
- "https://www.w3.org/ns/activitystreams",
378
- "https://sockethub.org/ns/context/v1.jsonld",
379
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
380
- ],
381
- type: "update",
382
- actor: { type: "person", id: "bkero-@localhost", name: "bkero-" },
383
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
384
- object: { type: "presence", role: "member" },
385
- },
386
- {
387
- "@context": [
388
- "https://www.w3.org/ns/activitystreams",
389
- "https://sockethub.org/ns/context/v1.jsonld",
390
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
391
- ],
392
- type: "update",
393
- actor: { type: "person", id: "galfert@localhost", name: "galfert" },
394
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
395
- object: { type: "presence", role: "member" },
396
- },
397
- {
398
- "@context": [
399
- "https://www.w3.org/ns/activitystreams",
400
- "https://sockethub.org/ns/context/v1.jsonld",
401
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
402
- ],
403
- type: "update",
404
- actor: { type: "person", id: "raucao@localhost", name: "raucao" },
405
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
406
- object: { type: "presence", role: "member" },
407
- },
408
- {
409
- "@context": [
410
- "https://www.w3.org/ns/activitystreams",
411
- "https://sockethub.org/ns/context/v1.jsonld",
412
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
413
- ],
414
- type: "update",
415
- actor: { type: "person", id: "hal8000@localhost", name: "hal8000" },
416
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
417
- object: { type: "presence", role: "member" },
418
- },
419
- {
420
- "@context": [
421
- "https://www.w3.org/ns/activitystreams",
422
- "https://sockethub.org/ns/context/v1.jsonld",
423
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
424
- ],
425
- type: "update",
426
- actor: { type: "person", id: "bkero@localhost", name: "bkero" },
427
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
428
- object: { type: "presence", role: "member" },
429
- },
430
- {
431
- "@context": [
432
- "https://www.w3.org/ns/activitystreams",
433
- "https://sockethub.org/ns/context/v1.jsonld",
434
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
435
- ],
436
- type: "update",
437
- actor: { type: "person", id: "bumi[m]@localhost", name: "bumi[m]" },
438
- target: { type: "room", id: "localhost/#kosmos", name: "#kosmos" },
439
- object: { type: "presence", role: "member" },
440
- },
441
- {
442
- "@context": [
443
- "https://www.w3.org/ns/activitystreams",
444
- "https://sockethub.org/ns/context/v1.jsonld",
445
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
446
- ],
447
- type: "update",
448
- actor: { type: "person", id: "slvrbckt@localhost" },
449
- target: { type: "room", id: "localhost/#debian" },
450
- error: "You're not a channel operator",
451
- },
452
- {
453
- "@context": [
454
- "https://www.w3.org/ns/activitystreams",
455
- "https://sockethub.org/ns/context/v1.jsonld",
456
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
457
- ],
458
- type: "update",
459
- actor: { type: "person", id: "slvrbckt@localhost" },
460
- target: { type: "room", id: "localhost/#kosmos-random" },
461
- error: "You're not a channel operator",
462
- },
463
- {
464
- "@context": [
465
- "https://www.w3.org/ns/activitystreams",
466
- "https://sockethub.org/ns/context/v1.jsonld",
467
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
468
- ],
469
- type: "add",
470
- actor: { type: "person", id: "alice@localhost", name: "alice" },
471
- target: { type: "person", id: "Kilroy@localhost", name: "Kilroy" },
472
- object: {
473
- type: "relationship",
474
- relationship: "role",
475
- subject: { type: "presence", role: "owner" },
476
- object: {
477
- type: "room",
478
- id: "localhost/#Finnish",
479
- name: "#Finnish",
480
- },
481
- },
482
- },
483
- {
484
- "@context": [
485
- "https://www.w3.org/ns/activitystreams",
486
- "https://sockethub.org/ns/context/v1.jsonld",
487
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
488
- ],
489
- type: "add",
490
- actor: { type: "person", id: "bob@localhost", name: "bob" },
491
- target: { type: "person", id: "alice@localhost", name: "alice" },
492
- object: {
493
- type: "relationship",
494
- relationship: "role",
495
- subject: { type: "presence", role: "participant" },
496
- object: { type: "room", id: "localhost/#room_a", name: "#room_a" },
497
- },
498
- },
499
- {
500
- "@context": [
501
- "https://www.w3.org/ns/activitystreams",
502
- "https://sockethub.org/ns/context/v1.jsonld",
503
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
504
- ],
505
- type: "add",
506
- actor: { type: "person", id: "alice@localhost", name: "alice" },
507
- target: { type: "person", id: "bob@localhost", name: "bob" },
508
- object: {
509
- type: "relationship",
510
- relationship: "role",
511
- subject: { type: "presence", role: "admin" },
512
- object: { type: "room", id: "localhost/#room_b", name: "#room_b" },
513
- },
514
- },
515
- {
516
- "@context": [
517
- "https://www.w3.org/ns/activitystreams",
518
- "https://sockethub.org/ns/context/v1.jsonld",
519
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
520
- ],
521
- type: "update",
522
- target: { type: "room", id: "localhost/#freenode-sponsors" },
523
- actor: { type: "person", id: "hyper_slvrbckt@localhost" },
524
- error: "Cannot join channel (+i) - you must be invited",
525
- },
526
- {
527
- "@context": [
528
- "https://www.w3.org/ns/activitystreams",
529
- "https://sockethub.org/ns/context/v1.jsonld",
530
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
531
- ],
532
- type: "update",
533
- target: { type: "service", id: "localhost" },
534
- error: "Nickname is already in use.",
535
- actor: { type: "person", id: "nkj@localhost", name: "nkj" },
536
- },
537
- {
538
- "@context": [
539
- "https://www.w3.org/ns/activitystreams",
540
- "https://sockethub.org/ns/context/v1.jsonld",
541
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
542
- ],
543
- type: "update",
544
- target: { type: "service", id: "localhost" },
545
- error: "Nickname is already in use.",
546
- actor: { type: "person", id: "slvrbckt@localhost", name: "slvrbckt" },
547
- },
548
- {
549
- "@context": [
550
- "https://www.w3.org/ns/activitystreams",
551
- "https://sockethub.org/ns/context/v1.jsonld",
552
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
553
- ],
554
- type: "send",
555
- actor: { type: "service", id: "localhost" },
556
- object: {
557
- type: "message",
558
- content:
559
- "This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.",
560
- },
561
- target: { type: "person", id: "boo@localhost", name: "boo" },
562
- },
563
- {
564
- "@context": [
565
- "https://www.w3.org/ns/activitystreams",
566
- "https://sockethub.org/ns/context/v1.jsonld",
567
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
568
- ],
569
- type: "send",
570
- actor: { type: "service", id: "localhost" },
571
- object: {
572
- type: "message",
573
- content:
574
- "You have 30 seconds to identify to your nickname before it is changed.",
575
- },
576
- target: { type: "person", id: "boo@localhost", name: "boo" },
577
- },
578
- {
579
- "@context": [
580
- "https://www.w3.org/ns/activitystreams",
581
- "https://sockethub.org/ns/context/v1.jsonld",
582
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
583
- ],
584
- type: "send",
585
- actor: { type: "service", id: "localhost" },
586
- object: {
587
- type: "message",
588
- content: "You failed to identify in time for the nickname boo",
589
- },
590
- target: { type: "person", id: "boo@localhost", name: "boo" },
591
- },
592
- {
593
- "@context": [
594
- "https://www.w3.org/ns/activitystreams",
595
- "https://sockethub.org/ns/context/v1.jsonld",
596
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
597
- ],
598
- type: "update",
599
- target: { type: "service", id: "localhost" },
600
- error: "Nick/channel is temporarily unavailable",
601
- actor: { type: "person", id: "boo@localhost", name: "boo" },
602
- },
603
- {
604
- "@context": [
605
- "https://www.w3.org/ns/activitystreams",
606
- "https://sockethub.org/ns/context/v1.jsonld",
607
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
608
- ],
609
- type: "update",
610
- actor: { type: "person", id: "sh-WjwOE@localhost", name: "sh-WjwOE" },
611
- target: { type: "person", id: "woooo@localhost", name: "woooo" },
612
- object: { type: "address" },
613
- },
614
- {
615
- "@context": [
616
- "https://www.w3.org/ns/activitystreams",
617
- "https://sockethub.org/ns/context/v1.jsonld",
618
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
619
- ],
620
- type: "send",
621
- actor: { type: "service", id: "localhost" },
622
- object: {
623
- type: "message",
624
- content:
625
- "Last login from: ~slvrbckt@localhost on Feb 09 18:45:19 2022 +0000.",
626
- },
627
- target: { type: "person", id: "slvrbckt@localhost", name: "slvrbckt" },
628
- },
629
- {
630
- "@context": [
631
- "https://www.w3.org/ns/activitystreams",
632
- "https://sockethub.org/ns/context/v1.jsonld",
633
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
634
- ],
635
- type: "join",
636
- actor: { type: "person", id: "myuser@localhost", name: "myuser" },
637
- target: {
638
- type: "room",
639
- id: "localhost/#kosmos-random",
640
- name: "#kosmos-random",
641
- },
642
- },
643
- {
644
- "@context": [
645
- "https://www.w3.org/ns/activitystreams",
646
- "https://sockethub.org/ns/context/v1.jsonld",
647
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
648
- ],
649
- type: "update",
650
- actor: { type: "person", id: "myuser@localhost", name: "myuser" },
651
- target: {
652
- type: "room",
653
- id: "localhost/#kosmos-random",
654
- name: "#kosmos-random",
655
- },
656
- object: { type: "presence", role: "member" },
657
- },
658
- {
659
- "@context": [
660
- "https://www.w3.org/ns/activitystreams",
661
- "https://sockethub.org/ns/context/v1.jsonld",
662
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
663
- ],
664
- type: "update",
665
- actor: { type: "person", id: "botka@localhost", name: "botka" },
666
- target: {
667
- type: "room",
668
- id: "localhost/#kosmos-random",
669
- name: "#kosmos-random",
670
- },
671
- object: { type: "presence", role: "owner" },
672
- },
673
- {
674
- "@context": [
675
- "https://www.w3.org/ns/activitystreams",
676
- "https://sockethub.org/ns/context/v1.jsonld",
677
- "https://sockethub.org/ns/context/platform/irc/v1.jsonld",
678
- ],
679
- type: "update",
680
- actor: { type: "person", id: "foouser@localhost", name: "foouser" },
681
- target: {
682
- type: "room",
683
- id: "localhost/#kosmos-random",
684
- name: "#kosmos-random",
685
- },
686
- object: { type: "presence", role: "member" },
687
- },
688
- ];