Matrix Live πŸŽ™

I had the chance to have Ryan with me for a special edition of Open Tech Will Save Us on Thunderbird to celebrate their 102 release, which includes Matrix support for the first time in a stable release.

We covered many interesting topics, such as the importance of specifying the expected behaviour of clients and servers in a protocol to deliver the best experience to end users (wink, wink, reminds you of something?), why Thunderbird was more dormant and is now vibrant as ever, what they plan for the future. I had good fun and I hope attendees did too! Next episode is going to be at the end of July, but you can already join the Open Tech Will Save Us room

Dept of Status of Matrix 🌑️

Matthew reports

Audrey Tang, Digital Minister for Taiwan is offering sponsorship for full localisation of Element and other leading Matrix clients into zh_Hant_TW - see https://twitter.com/audreyt/status/1542296087310258176. If you're interested in helping out, please get in touch with Thib and we'll coordinate.

Dept of Spec πŸ“œ

Andrew Morgan (anoa) announces

Here's your weekly spec update! The heart of Matrix is the specification - and this is modified by Matrix Spec Change (MSC) proposals. Learn more about how the process works at https://matrix.org/docs/spec/proposals.

MSC Status

New MSCs:

MSCs with Proposed Final Comment Period:

MSCs in Final Comment Period:

  • No MSCs are in FCP.

Merged MSCs:

  • No MSCs were merged this week.

Spec Updates

Bits and pieces of review by both the Spec Core Team and the community peppered about different MSCs.

Various changes to the spec text itself, particularly from @aaronraimist, @DMRobertson and @Kloenk. Thank you all!

Random MSC of the Week

The random MSC of the week is... MSC2974: Widgets: Capabilities re-exchange!

This MSC is a relatively simple it. Currently widgets are only allowed to specify their capabilities (what the widget is allowed to do, like reading the logged-in user's display name) when the widget is loaded. This MSC attempts to allow that model to be extended to let widgets ask for additional (or fewer) permissions over time.

I can't help but be reminded of the shift in permissions on iOS and Android here in how they shifted from "ask all permissions up front" to "ask for permission for each thing when it's used in the app" :)

Check it out if widgets are your thing!

Dept of Outreachy πŸŽ“οΈ

andybalaam announces

New Matrix Intern Usman has just started on his project to prototype Favourite messages in Element Web. He's written a blog post introducing himself and the project: https://yaya-usman.hashnode.dev/outreachy-blog-introducing-myself

Dept of Servers 🏒

Synapse (website)

Synapse is a Matrix homeserver implementation developed by the matrix.org core team

Brendan Abolivier says

This week the Synapse team released Synapse 1.61.1! This is a security release which addresses a high severity vulnerability in URL preview feature. Server administrators are encouraged to update as soon as possible! We have published a blog post explaining the vulnerability and detailing a few workarounds that can be implemented on homeservers which can't be updated right away: https://matrix.org/blog/2022/06/28/security-release-synapse-1-61-1

Other than that we have published the first RC for Synapse 1.62.0 (which was followed today by a second bugfix RC). Synapse 1.62 will feature an improved spam checker API for modules, performance improvements around device lists, more customisation for .well-known client files and much more. Watch this space next week for the full rundown πŸ™‚

Dendrite (website)

Second generation Matrix homeserver

neilalexander announces

This week we released Dendrite 0.8.9 which contains a number of improvements around backfilling room history, amongst other things.

Features

  • Incoming device list updates over federation are now queued in JetStream for processing so that they will no longer block incoming federation transactions and should never end up dropped, which will hopefully help E2EE reliability
  • The /context endpoint now returns "start" and "end" parameters to allow pagination from a context call
  • The /messages endpoint will no longer return "end" when there are no more messages remaining
  • Deactivated user accounts will now leave all rooms automatically
  • New admin endpoint /_dendrite/admin/evacuateUser/{userID} has been added for forcing a local user to leave all joined rooms
  • Dendrite will now automatically attempt to raise the file descriptor limit at startup if it is too low

Fixes

  • A rare crash when retrieving remote device lists has been fixed
  • Fixes a bug where events were not redacted properly over federation
  • The /invite endpoints will now return an error instead of silently proceeding if the user ID is obviously malformed

As always, please feel free to join us in #dendrite:matrix.org for more Dendrite discussion.

Dept of Clients πŸ“±

Thunderbird (website)

Thunderbird is a free open-source email, calendar & chat app.

freaktechnik says

Thunderbird 102 with Matrix support is now available for download at https://thunderbird.net/. The Matrix implementation reflects what's been previously discussed in TWIM with some additional bug fixes. You can read more about what's new in our blog post. Ryan discussed the Thunderbird 102 release as well as the project in general in this week's Open Tech Will Save Us, give it a listen for the latest inside scoop.

Nheko (website)

Desktop client for Matrix using Qt and C++17.

Nico says

Have you ever noticed that some people are just plain @*%&!Β§%"+? Well, to quickly deal with what they wrote, Nheko now has a /redact @userid:server.name command, so you can redact everything they wrote (as long as it is in the currently cached section of the timeline). Note that you will run into rate limits when using that and Nheko is not yet applying an appropriate backoff in that case.

Similarly, q234rty fixed a lot of cases where icons in Nheko were either blurry or the wrong size. We fixed a few crashes, the room list should now not sometimes store the wrong order of rooms, brausepulver made large avatars cropped locally (since servers don't guarantee any size over 96x96 when cropped and synapse doesn't properly save the full image size in that case) and added a menu entry to copy a roomlink. You can also now define new powerlevels for users instead of using the existing levels in the room and Jason fixed some compiler warnings when a private member struct doesn't have an explicit constructor on some compilers. Nheko also now downloads the full online key backup when you explicitly toggle the switch.

A more noticeable topic might be, that Nheko now requires servers which support the v1.1 API or later and will not allow you to login or register otherwise. At the same time we also enabled support for the shiny and new knock_restricted rule and all remaining groups code was removed (you know, the feature from before spaces were cool).

I also updated Nheko on my work laptop now and since I was quite surprised by how fast it starts now (while my room count is over 900 !), I attached a video of that below for your pleasure.

Element (website)

Everything related to Element but not strictly bound to a client

kittykat says

This week is an exciting time in Element land! We have one feature coming out of beta and another going in: the new search experience is going live with the next release, while video rooms will become available for testing. You can already preview them in the release candidate!

Threads

  • After investigating ranged read receipts, we are looking at per thread read receipts again as a more practical approach.

Community testing

  • RC testing done:

    • Web - MD/HTML support in Space/Room topics
    • iOS - regression testing of messages, reactions and rooms
  • Next week:

    • Create DM only on first message
  • For more info on our next testing sessions (sync or async), you can join us at #element-community-testing:matrix.org!

Element Web/Desktop (website)

Secure and independent communication, connected via Matrix. Come talk with us in #element-web:matrix.org!

kittykat announces

  • The new search experience is coming out of labs with the next release! Including much UI polish and ordering improvements.
  • Video rooms are going to be available for everyone to try out in beta!
  • Work on improving our testing continues with more crypto tests being migrated to Cypress and improvements to test reliability
  • Fixed Jitsi video and audio defaults, and improved default layout when video is minimised
  • We have had many more CSS changes to polish layout, including this change to fix tile bubbles!
  • And finished converting matrix-react-sdk to TypeScript
  • In labs (you can enable labs features in settings on develop.element.io or on Nightly):
    • Made improvements to live location sharing

Nico says

Because sometimes you just have to do something else and it might be interesting to some people:

  • I fixed calls not working when trying to use Element Web with a Conduit server: https://github.com/matrix-org/matrix-react-sdk/pull/8931
  • I fixed Element Android still using the unstable endpoint (i.e. the one from the MSC, that proposed it) to list aliases: https://github.com/vector-im/element-android/pull/6288

Sometimes fixing something that annoys you isn't even that hard, and since it annoys you, you have some motivation to fix it. I call this Anger Driven Development (ADD). If you have some things that annoy you, I encourage to try fixing them for a bit. It might help out some other people too. If that makes you want to contribute to Nheko, don't hesitate to join #nheko:nheko.im and ask me to help you out with whatever fix you are trying to contribute.

This time I just decided to clean out some issues, that came up in the Conduit development channel and that weren't fixed yet. Turns out it was just a few lines to change and it hopefully makes the Matrix experience better for everyone in the long run. The changes were also quickly reviewed and are merged now. Do you have any such little fixes that no one hears about, but you are proud of them? Please post about them, I'd love to see them!

Element iOS (website)

Secure and independent communication for iOS, connected via Matrix. Come talk with us in #element-ios:matrix.org!

Ștefan announces

Are you enjoying Location Sharing but have tired thumbs from tapping every time you need to update your location? Then fret no more! Element 1.8.20 features our new Live Location Sharing feature, now available in Labs.

  • Live Location Sharing: Now in Labs, we’ve added the ability to send your location in real time to the people and rooms of your choice!
  • Mark as Read: Quickly mark a single room as read by long-pressing it on the home screen.
  • Annoying bugs fixed: It’s much easier to tap the names and avatars of room members, voice messages now work better with VoiceOver enabled and it is significantly faster to create a new room.

Element Android (website)

Secure and independent communication for Android, connected via Matrix. Come talk with us in #element-android:matrix.org!

kittykat announces

  • The fix for the bug around accepting invites to DMs has landed in the Google Playstore with version 1.4.25
  • We also made improvements to registration, password reset, and other first user experiences
  • Room list loading has had a revamp with more intuitive loading indicators
  • Location sharing has had many improvements (live location sharing is available in labs if you’d like to take it for a spin)

Dept of SDKs and Frameworks 🧰

matrix-rust-sdk (website)

Matrix Client-Server SDK for Rust

ben says

Over the last few weeks, a significant push on rust-crypto-support for Nodejs has taken place, e.g. this PR. Major parts are available, the infrastructure to create releases ready, however, a pretty rare huge memory allocation that causes a crash in Nodejs on the CI has blocked progress of the team recently. Debugging this costs a lot of time and it is yet unclear, how much of a problem this really is (as the cause stays mysterious), however it has also been seen in the wild on Windows now-- a concerning development.

But that doesn't mean, there isn't any development going on. Thanks to the active community around the project, we now have a fix to prevent us from processing the same transaction twice, a method to create permalinks, you can now verify sessions through FFI as well as use the Client Builder via FFI. Thanks everyone!

πŸ‘‰οΈ Wanna hack on matrix rust? Go check out our help wanted tagged issues and join our matrix channel at #matrix-rust-sdk:matrix.org.

Matrix Dart SDK (website)

Matrix SDK written in pure Dart and maintained by Famedly.

Henri Carnot says

Dart Matrix SDK: Version 0.10.2

This week, the team released version 0.10.2. In this version, we added experimental support for native group call signaling MSC3401. We have been playing with it in our internal clients, and we have to say that we are pretty happy with the result! There are still some bugs, as sometimes a new call is creating instead of joining the existing one. But it's looking great!

We also took the opportunity to fix some bugs in call handling. Now the ringtone is properly properly when rejecting a call. Also, when opening the client, we don't trigger a call event anymore if the call end event is in the sync response.

We also did some refactoring for the sync handler, reducing the usage of JSON objects and adding some try catch to handle issues when handling event room updates. We switched to custom CachedStreamController so even if the stream has already been listened to, you can still access the last sent value.

Finally, when sending messages when under unreliable connection, messages could be sent out of order. This is now fixed thanks to the implementation of a message sending queue.

See you next time ;)

Dept of Instance Managers

axon.sh (website)

An interactive command-line administration tool for Synapse written in Bash.

joe says

This week's release completed support for resolving, creating, and deleting room aliases. Get the code and contribute at https://git.thisisjoes.site/joe/axon.sh (supports GitHub and GitLab login) and join #axon:matrix.thisisjoes.site for discussion and updates!

synadm (website)

Command line admin tool for Synapse (Matrix reference homeserver)

jojo reports

Two is better than one! Ascurius joined the synadm team and helps maintain the github repo, code new features and support users on github and #synadm:peek-a-boo.at.

Thanks to all synadm users, feature requesters and contributors, issue submitters and #synadm:peek-a-boo.at members. It's fun to maintain a project and see its community grow each day!

Some features from the latest releases we'd like to highlight:

  • The local part of an MXID can now be used as the <user_id> argument in various synadm commands. Of course, there is still the possibility to use the full MXID if desired.
  • We have added a shadow-ban command so that admins now can more easily deal with abusive users: synadm room shadow-ban
  • The room state API is now supported, try synadm room state
  • And with the help of that API we created a command to easily generate a list of rooms and corresponding admins and mods: synadm room power-levels
  • The synadm room search command was adapted to make better use of current Synapse versions possibilities.
  • Documentation chapter around using synadm together with Synapse instances deployed with matrix-docker-ansible-deploy.
  • The magic around "retrieval of the own homeserver name" got a massive overhaul. This affects several user and media subcommands.
  • Have a look at the releases list for more details: https://github.com/JOJ0/synadm/releases

Dept of Events and Talks πŸ—£οΈ

Matrix Summit Conference Berlin calls for your participation.

Yan announces

The will be a 2 days conference about matrix.

26th to 27th august 2022 @c-base in Berlin.

With the first Matrix Summit Conference we try to showcase the matrix-eco-system in its whole width and depth.

We are looking for talks and workshops around matrix-related projects and products. We are interested in all aspects of those: From the past to the future, from the moment of the idea, the story of the creation or the vision of the future. We’d like to understand the principles as well as the technology. The conference is from people for people, so if you’d like to talk about yourself, your community, your organization, please do. Showcase yourself and your relation to the Matrix world. We try to compile a versatile program. We are open to contributions of any length, from 5 minutes(lightning talks) to presentations and talks to workshops and hacksessions up to 5 hours. We’ll come together to discover, celebrate and enjoy the world of matrix. Also, if you have any arty, cultural or playful contribution in mind, please offer it.

You can enter proposals until 2022-07-22 22:22 (Europe/Berlin), 3 weeks from now in our pretalx

Matrix-summit-berlin-2022 matrix summit space

The #matrix-summit-berlin-2022 space will contain all rooms and subspaces related to the event. For the organization of the summit we have orga-room. Just come by if you like to know something or help with the summit. There is a gitlab organisation which contains our codebase and issuetrackers.

Sponsors?

We try to make everything low cost. But we need some money for food, drinks, merch, travel, accommodation. Please contact Yan or write mail, when you can sponsor the event.

matrix summit

Note this is a community event that is not organised by the Matrix.org Foundation.

Matrix User Meetup Berlin

saces announces

Next Matrix user meetup 6.7.2022, 8 pm @ c-base

Meet other matrix users, chat about Matrix, the rest, and everything else, discuss your Matrix ideas, sign each other in persona, and maybe spice the evening with a good mate or beer.

Also when the bbq is lit you may wish you brougth your favorite item :)

Every first Wednesday of the month in the c-base at 8pm ('til the next pandemic).

Matrix room: #mumb:c-base.org

Dept of Interesting Projects πŸ›°οΈ

livematrix (website)

An oversimplified, easy to implement, embedded live chat widget that allows your website's visitors to send messages seamlessly to your Matrix account.

osousa announces

The widget is Built using Svelte, so everything goes in one nice bundle, its fast and awesome to embed. No need for external libraries or big framework.js files. Just import into your website's structure one JS and one CSS files. The server uses Golang, the Binary is only 3.2MB in size. Make sure you configure the .env file.

A demo and more information about livematrix can be found here: https://github.com/osousa/livematrix

Dept of Ping πŸ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server.

#ping:maunium.net

Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1nognu.de809
2isaffine.name818
3alemann.dev829
4quyo.de983
5norrland.xyz1033.5
6mindlesstux.com1036
7vern.cc1100.5
8kanp.ai1535
9utzutzutz.net1747.5
10roeckx.be1754

#ping-no-synapse:maunium.net

Join #ping-no-synapse:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1dendrite.matrix.org290.5
2sspaeth.de321
3kernel-error.com360
4matrix.org538.5
5dendrite.s3cr3t.me556
6rustybever.be811.5
7xethos.net1046.5
8zemos.net20859

That's all I know 🏁

See you next week, and be sure to stop by #twim:matrix.org with your updates!

The Foundation needs you

The Matrix.org Foundation is a non-profit and only relies on donations to operate. Its core mission is to maintain the Matrix Specification, but it does much more than that.

It maintains the matrix.org homeserver and hosts several bridges for free. It fights for our collective rights to digital privacy and dignity.

Support us