Create a simple app that puts a number of events into a simple timeline which can be used to verify future memory optimisations When Neochat is built with tests on you should find the app at ~/kde/usr/bin/timeline-memtest assuming ~/kde is your kdesrc-build directory
656 lines
26 KiB
JSON
656 lines
26 KiB
JSON
{
|
|
"ephemeral": {
|
|
"events": [
|
|
{
|
|
"content": {
|
|
"$1000000000000:example.org": {
|
|
"m.read": {
|
|
"@alice:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000000:example.org": {
|
|
"m.read": {
|
|
"@bob:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000003:example.org": {
|
|
"m.read": {
|
|
"@tim:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000003:example.org": {
|
|
"m.read": {
|
|
"@example:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000003:example.org": {
|
|
"m.read": {
|
|
"@jeff:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000003:example.org": {
|
|
"m.read": {
|
|
"@tina:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000003:example.org": {
|
|
"m.read": {
|
|
"@sally:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
},
|
|
{
|
|
"content": {
|
|
"$1000000000003:example.org": {
|
|
"m.read": {
|
|
"@fred:example.org": {
|
|
"ts": 1000000000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "m.receipt"
|
|
}
|
|
]
|
|
},
|
|
"state": {
|
|
"events": [
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Example",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582555PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "example:example.org",
|
|
"state_key": "@example:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Alice",
|
|
"membership": "join",
|
|
"reason": "Looking for support"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "alice:example.org",
|
|
"state_key": "@alice:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Bob",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "bob:example.org",
|
|
"state_key": "@bob:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Tim",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "tim:example.org",
|
|
"state_key": "@tim:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Jeff",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "jeff:example.org",
|
|
"state_key": "@jeff:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Tina",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "tina:example.org",
|
|
"state_key": "@tina:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Sally",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "sally:example.org",
|
|
"state_key": "@sally:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF",
|
|
"displayname": "Fred",
|
|
"membership": "join"
|
|
},
|
|
"event_id": "$143273582443PhrSn:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "fred:example.org",
|
|
"state_key": "@fred:example.org",
|
|
"type": "m.room.member",
|
|
"unsigned": {
|
|
"age": 1234
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"timeline": {
|
|
"events": [
|
|
{
|
|
"content": {
|
|
"body": "This is an example text message",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "This is an example<br>text message",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000000:example.org",
|
|
"origin_server_ts": 1000000000000,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "This is a highlight @bob:example.org",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000001:example.org",
|
|
"origin_server_ts": 1000000000001,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1233
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"m.relates_to": {
|
|
"event_id": "$1000000000001:example.org",
|
|
"key": "👍",
|
|
"rel_type": "m.annotation"
|
|
}
|
|
},
|
|
"origin_server_ts": 1000000000002,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@alice:example.org",
|
|
"type": "m.reaction",
|
|
"unsigned": {
|
|
"age": 390159120
|
|
},
|
|
"event_id": "$1000000000002:example.org",
|
|
"age": 390159120
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "reply",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "reply",
|
|
"m.relates_to": {
|
|
"m.in_reply_to": {
|
|
"event_id": "$1000000000000:example.org"
|
|
}
|
|
},
|
|
"msgtype": "m.text"
|
|
},
|
|
"origin_server_ts": 1000000000003,
|
|
"sender": "@alice:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 98
|
|
},
|
|
"event_id": "$1000000000003:example.org",
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org"
|
|
},
|
|
{
|
|
"age": 96845207,
|
|
"content": {
|
|
"body": "Lat: 51.7035, Lon: -1.14394",
|
|
"geo_uri": "geo:51.7035,-1.14394",
|
|
"msgtype": "m.location",
|
|
"org.matrix.msc1767.text": "Lat: 51.7035, Lon: -1.14394",
|
|
"org.matrix.msc3488.asset": {
|
|
"type": "m.pin"
|
|
},
|
|
"org.matrix.msc3488.location": {
|
|
"uri": "geo:51.7035,-1.14394"
|
|
}
|
|
},
|
|
"event_id": "$1000000000004:example.org",
|
|
"origin_server_ts": 1000000000004,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 96845207
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "```cpp\nint main(int argc, char **argv)\n{\n QApplication app(argc, argv);\n\n KLocalizedString::setApplicationDomain(QByteArrayLiteral(\"neochat\"));\n\n QQmlApplicationEngine engine;\n engine.loadFromModule(\"org.kde.neochat.timeline-memtest\", \"Main\");\n\n return app.exec();\n}\n```",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<pre><code class=\"language-cpp\">int main(int argc, char **argv)\n{\n QApplication app(argc, argv);\n\n KLocalizedString::setApplicationDomain(QByteArrayLiteral("neochat"));\n\n QQmlApplicationEngine engine;\n engine.loadFromModule("org.kde.neochat.timeline-memtest", "Main");\n\n return app.exec();\n}\n</code></pre>",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000005:example.org",
|
|
"origin_server_ts": 1000000000005,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@bob:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1233
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat. ",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000006:example.org",
|
|
"origin_server_ts": 1000000000006,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat. ",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<blockquote>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat.</p>\n</blockquote>",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000007:example.org",
|
|
"origin_server_ts": 1000000000007,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "This is an example text message",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "This is an example<br>text message",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000008:example.org",
|
|
"origin_server_ts": 1000000000008,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "This is a highlight @bob:example.org",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000009:example.org",
|
|
"origin_server_ts": 1000000000009,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1233
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"m.relates_to": {
|
|
"event_id": "$1000000000009:example.org",
|
|
"key": "👍",
|
|
"rel_type": "m.annotation"
|
|
}
|
|
},
|
|
"origin_server_ts": 1000000000010,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@alice:example.org",
|
|
"type": "m.reaction",
|
|
"unsigned": {
|
|
"age": 390159120
|
|
},
|
|
"event_id": "$1000000000010:example.org",
|
|
"age": 390159120
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "reply",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "reply",
|
|
"m.relates_to": {
|
|
"m.in_reply_to": {
|
|
"event_id": "$1000000000008:example.org"
|
|
}
|
|
},
|
|
"msgtype": "m.text"
|
|
},
|
|
"origin_server_ts": 1000000000011,
|
|
"sender": "@alice:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 98
|
|
},
|
|
"event_id": "$1000000000011:example.org",
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org"
|
|
},
|
|
{
|
|
"age": 96845207,
|
|
"content": {
|
|
"body": "Lat: 51.7035, Lon: -1.14394",
|
|
"geo_uri": "geo:51.7035,-1.14394",
|
|
"msgtype": "m.location",
|
|
"org.matrix.msc1767.text": "Lat: 51.7035, Lon: -1.14394",
|
|
"org.matrix.msc3488.asset": {
|
|
"type": "m.pin"
|
|
},
|
|
"org.matrix.msc3488.location": {
|
|
"uri": "geo:51.7035,-1.14394"
|
|
}
|
|
},
|
|
"event_id": "$1000000000012:example.org",
|
|
"origin_server_ts": 1000000000012,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 96845207
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "```cpp\nint main(int argc, char **argv)\n{\n QApplication app(argc, argv);\n\n KLocalizedString::setApplicationDomain(QByteArrayLiteral(\"neochat\"));\n\n QQmlApplicationEngine engine;\n engine.loadFromModule(\"org.kde.neochat.timeline-memtest\", \"Main\");\n\n return app.exec();\n}\n```",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<pre><code class=\"language-cpp\">int main(int argc, char **argv)\n{\n QApplication app(argc, argv);\n\n KLocalizedString::setApplicationDomain(QByteArrayLiteral("neochat"));\n\n QQmlApplicationEngine engine;\n engine.loadFromModule("org.kde.neochat.timeline-memtest", "Main");\n\n return app.exec();\n}\n</code></pre>",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000013:example.org",
|
|
"origin_server_ts": 1000000000013,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@bob:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1233
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat. ",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000014:example.org",
|
|
"origin_server_ts": 1000000000014,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat. ",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<blockquote>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat.</p>\n</blockquote>",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000015:example.org",
|
|
"origin_server_ts": 1000000000015,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "This is an example text message",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "This is an example<br>text message",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000016:example.org",
|
|
"origin_server_ts": 1000000000016,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "This is a highlight @bob:example.org",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000017:example.org",
|
|
"origin_server_ts": 1000000000017,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1233
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"m.relates_to": {
|
|
"event_id": "$1000000000017:example.org",
|
|
"key": "👍",
|
|
"rel_type": "m.annotation"
|
|
}
|
|
},
|
|
"origin_server_ts": 1000000000018,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@alice:example.org",
|
|
"type": "m.reaction",
|
|
"unsigned": {
|
|
"age": 390159120
|
|
},
|
|
"event_id": "$1000000000018:example.org",
|
|
"age": 390159120
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "reply",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "reply",
|
|
"m.relates_to": {
|
|
"m.in_reply_to": {
|
|
"event_id": "$1000000000016:example.org"
|
|
}
|
|
},
|
|
"msgtype": "m.text"
|
|
},
|
|
"origin_server_ts": 1000000000019,
|
|
"sender": "@alice:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 98
|
|
},
|
|
"event_id": "$1000000000019:example.org",
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org"
|
|
},
|
|
{
|
|
"age": 96845207,
|
|
"content": {
|
|
"body": "Lat: 51.7035, Lon: -1.14394",
|
|
"geo_uri": "geo:51.7035,-1.14394",
|
|
"msgtype": "m.location",
|
|
"org.matrix.msc1767.text": "Lat: 51.7035, Lon: -1.14394",
|
|
"org.matrix.msc3488.asset": {
|
|
"type": "m.pin"
|
|
},
|
|
"org.matrix.msc3488.location": {
|
|
"uri": "geo:51.7035,-1.14394"
|
|
}
|
|
},
|
|
"event_id": "$1000000000020:example.org",
|
|
"origin_server_ts": 1000000000020,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 96845207
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "```cpp\nint main(int argc, char **argv)\n{\n QApplication app(argc, argv);\n\n KLocalizedString::setApplicationDomain(QByteArrayLiteral(\"neochat\"));\n\n QQmlApplicationEngine engine;\n engine.loadFromModule(\"org.kde.neochat.timeline-memtest\", \"Main\");\n\n return app.exec();\n}\n```",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<pre><code class=\"language-cpp\">int main(int argc, char **argv)\n{\n QApplication app(argc, argv);\n\n KLocalizedString::setApplicationDomain(QByteArrayLiteral("neochat"));\n\n QQmlApplicationEngine engine;\n engine.loadFromModule("org.kde.neochat.timeline-memtest", "Main");\n\n return app.exec();\n}\n</code></pre>",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000021:example.org",
|
|
"origin_server_ts": 1000000000021,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@bob:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1233
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat. ",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000022:example.org",
|
|
"origin_server_ts": 1000000000022,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
},
|
|
{
|
|
"content": {
|
|
"body": "> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat. ",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<blockquote>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed fringilla risus, eget lacinia risus. Suspendisse at magna id justo sagittis suscipit. Maecenas eros quam, pulvinar a consequat sed, varius vitae risus. Cras congue est eget felis porttitor lobortis. Nam cursus, nulla ut finibus suscipit, tellus eros tincidunt ante, a volutpat velit lectus sit amet turpis. Morbi leo justo, fringilla sed rutrum a, suscipit a quam. Proin rhoncus neque eget ligula ullamcorper pellentesque. Mauris volutpat malesuada nunc. Nullam finibus enim eu nibh placerat imperdiet. Nullam in mi in diam luctus scelerisque dignissim non erat.</p>\n</blockquote>",
|
|
"msgtype": "m.text"
|
|
},
|
|
"event_id": "$1000000000023:example.org",
|
|
"origin_server_ts": 1000000000023,
|
|
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
|
|
"sender": "@example:example.org",
|
|
"type": "m.room.message",
|
|
"unsigned": {
|
|
"age": 1232
|
|
}
|
|
}
|
|
],
|
|
"limited": true,
|
|
"prev_batch": "t34-23535_0_0"
|
|
}
|
|
}
|