Patches

Popular patches to help fix federation issues, among other things.

Patch: Fix leaky mutes on timelines

This patch will apply changes to how timelines handle mutes, preventing leaks.

Installation

Apply the following git patch to your misskey installation:

fix-leaky-mutes.patch

When you have muted someone, there is still a possibility to encounter posts by that person or see posts which mention them thanks to some loopholes in the way that the system checks whether or not to hide a post. This patch fixes those issues.

Version

This patch was made for misskey version 12.87.0.

Changelog

Source: https://github.com/JakeMBauer/Misskey-Extras/tree/main/patches#Fix-Leaky-Mutes
Author: @tost

Patch: Fix pleroma federation

This patch will make some to your misskey installation to allow it to better federate with pleroma instances.

Installation

Apply the following git patch to your misskey installation:

misskey-truncate-v2.patch

Note: This patch has been merged into the main Misskey repository and doesn't have to be applied anymore for misskey versions 12.88.0 and up.

This patch will truncate long user biographies that would otherwise lead to errors during federation. The patch and above setting are mainly to fix federation issues with pleroma, which allows for very long usernames and biographies that do not fit in the respective table columns in misskey.

Version

This patch has been tested on misskey versions 12.84.4 - 12.85.1.
It has been deprecated as of version 12.88.0; this patch was merged into the main Misskey repository. (See #7629 and #7642)

Changelog

Source: https://mk.toast.cafe/notes/8p01vttxpj
Authors: @tost, @Johann150

Patch: MFM Search engine

This patch will change the default search engine used with MFM's search bar feature.

Installation

Apply one of the following three patches to your misskey installation. Note that only one can be applied at a time, as they conflict with each other.

Misskey Flavoured Markup (MFM) allows to display a search bar in a post e.g. like this:

misskey [search]

By default, this will open a Google search. There are two places in the source where this URL is stored, although probably changing one would be enough.

The files which have to be changed are src/mfm/to-html.ts and src/client/components/google.vue.

Listed above are the patches for three different privacy-respecting search engines, namely DuckDuckGo, Metager and Qwant.

Version

This patch has been tested on misskey versions 12.84.4 - 12.85.1.

Changelog

Source: https://github.com/JakeMBauer/Misskey-Extras/tree/main/patches#Fix-Leaky-Mutes
Author: @Johann150