zulip/zerver/tests/fixtures/narrow.json

324 lines
6.6 KiB
JSON

[
{
"accept_events":[
{
"message":{
"display_recipient":"devel",
"type":"stream"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"type":"private"
},
"flags":null
},
{
"message":{
"display_recipient":"social",
"type":"stream"
},
"flags":null
}
],
"narrow":[
[
"stream",
"devel"
]
]
},
{
"accept_events":[
{
"message":{
"type":"stream",
"subject":"BarK"
},
"flags":null
},
{
"message":{
"type":"stream",
"topic":"bark"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"type":"private"
},
"flags":null
},
{
"message":{
"type":"stream",
"subject":"play with tail"
},
"flags":null
},
{
"message":{
"type":"stream",
"topic":"play with tail"
},
"flags":null
}
],
"narrow":[
[
"topic",
"bark"
]
]
},
{
"accept_events":[
{
"message":{
"display_recipient":"devel",
"type":"stream",
"subject":"python"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"type":"private"
},
"flags":null
},
{
"message":{
"display_recipient":"devel",
"type":"stream",
"subject":"java"
},
"flags":null
},
{
"message":{
"display_recipient":"social",
"type":"stream"
},
"flags":null
}
],
"narrow":[
[
"stream",
"devel"
],
[
"topic",
"python"
]
]
},
{
"accept_events":[
{
"message":{
"sender_email":"hamlet@zulip.com"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"sender_email":"cordelia@zulip.com"
},
"flags":null
}
],
"narrow":[
[
"sender",
"hamlet@zulip.com"
]
]
},
{
"accept_events":[
{
"message":{
"type":"private"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"type":"stream"
},
"flags":null
}
],
"narrow":[
[
"is",
"dm"
]
]
},
{
"accept_events":[
{
"message":{
"type":"private"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"type":"stream"
},
"flags":null
}
],
"narrow":[
[
"is",
"private"
]
]
},
{
"accept_events":[
{
"message":null,
"flags":[
"starred"
]
}
],
"reject_events":[
{
"message":null,
"flags":[
"alerted"
]
}
],
"narrow":[
[
"is",
"starred"
]
]
},
{
"accept_events":[
{
"message":null,
"flags":[
"mentioned"
]
}
],
"reject_events":[
{
"message":null,
"flags":[
"starred"
]
}
],
"narrow":[
[
"is",
"alerted"
]
]
},
{
"accept_events":[
{
"message":null,
"flags":[
"mentioned"
]
}
],
"reject_events":[
{
"message":null,
"flags":[
"starred"
]
}
],
"narrow":[
[
"is",
"mentioned"
]
]
},
{
"accept_events":[
{
"message":null,
"flags": []
}
],
"reject_events":[
{
"message":null,
"flags":[
"read"
]
}
],
"narrow":[
[
"is",
"unread"
]
]
},
{
"accept_events":[
{
"message":{
"type":"stream",
"subject":"✔ python"
},
"flags":null
}
],
"reject_events":[
{
"message":{
"type":"private"
},
"flags":null
},
{
"message":{
"type":"stream",
"subject":"java"
},
"flags":null
}
],
"narrow":[
[
"is",
"resolved"
]
]
}
]