Tdesktop: Implement sed-like message editing

Created on 16 May 2016  路  4Comments  路  Source: telegramdesktop/tdesktop

Since message editing was made available for every chat, there is useful proposal to it: long long time ago, in a galaxy far, far away Skype had a beautiful feature - you can send message formatted like

s/from/to/

and Skype will replace all occurences of string from to string to in your last message. It will be nice to see this feature here, probably, it would be very easy to implement.

auto closed

Most helpful comment

it would be very easy to implement.

Make a PR

All 4 comments

it would be very easy to implement.

Make a PR

To implement it, I have to set up development environment (whole Qt) to compile and test, it could be tricky. Developers that have already contributed to Telegram could have such environment already set up, so it will be much easier to them to contribute it. Also, they are much more familiar with Telegram client internal API.

HipChat still has this feature. It sounds great, but it doesn't work so well in practice. What if you want to replace something complex? I suppose you could just use normal message editing in that case, but it's always been an issue for me with HipChat, especially since it doesn't support regexes or escaping.

There's also the issue of people tricking each other using such an obscure feature. Someone who understands the syntax could convince someone else who doesn't to type a command that results in a unwanted edit.

@auchri , while I understand that it can be frustrating when people don't understand the complexity of the features they request and the time commitment required to realize them, it's not all that constructive to respond that the person suggesting the idea should implement it on their own. That leads to an unwelcoming community with a lot of tension between developers and users. If the apparent ungratefulness of the people you see commenting on GitHub is routinely upsetting you, then you should reconsider how you can contribute--or whether you can contribute--without compromising your own happiness. This is always a problem when involved with community management/customer support, especially in open source projects where there are more demands than resources.

It's quite reasonable for makkarpov to make a request without getting involved in the actual development. I make many requests to many open source and closed source projects; I don't have time to help implement all of them, but I certainly contribute where I can. The rest are suggestions and bug reports that may never be addressed, and that's fine. I'm not demanding that my requests be honored, especially if I'm not paying, and neither is makkarpov. As for the people who do make demands, they simply don't understand what goes into such a project and aren't worth fretting over.

Also, I must admit contributing to Telegram Desktop is particularly daunting. I've tried, but I've had a hard time getting it to compile, at least on Linux. I should probably give it another attempt.

Hey there!

We're automatically closing this issue since there was no activity in this issue since 366 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.

Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

(Please note that this is an automated comment.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JhonSane picture JhonSane  路  3Comments

whywhyy picture whywhyy  路  3Comments

Yanrishatum picture Yanrishatum  路  3Comments

hosseinab picture hosseinab  路  3Comments

LeonTheOriginal picture LeonTheOriginal  路  3Comments