Skip to content
Snippets Groups Projects
Commit 4e253697 authored by Bruno Windels's avatar Bruno Windels
Browse files

stylize weechat invite instructions

parent e9224c4d
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import {Maturity, Platform, LinkKind, WebsiteLink} from "../types.js";
import {Maturity, Platform, LinkKind, WebsiteLink, style} from "../types.js";
/**
* Information on how to deep link to a given matrix client.
......@@ -33,8 +33,8 @@ export class Weechat {
getLinkInstructions(platform, link) {
switch (link.kind) {
case LinkKind.User: return `Type /invite ${link.identifier}`;
case LinkKind.Room: return `Type /join ${link.identifier}`;
case LinkKind.User: return [`Type `, style.code(`/invite ${link.identifier}`)];
case LinkKind.Room: return [`Type `, style.code(`/join ${link.identifier}`)];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment