Tobias Speicher
11f437135a
Replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-24 16:17:46 +01:00
Robin Appelman
ef8c6f81fc
fix js
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-16 14:06:04 +02:00
Robin Appelman
2ef6613857
migrate away from depricated OC.generateUrl
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-12 17:03:49 +02:00
Robin Appelman
d41a216c49
link at mentions to external profile page
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
2966545f3e
fix rendering of local messages
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
5eb3e4d87c
lint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
5adc6e0004
generate router-link for mention and hashtag links
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
6e57649ce5
emojify message content
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:53 +02:00
Robin Appelman
34ec87cd4f
render messages based on the source html
...
instead of first stripping, and then repopulating html.
this makes it possible to do proper manipulation on mention and hashtag links
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:35:56 +02:00