telepathy-morse icon indicating copy to clipboard operation
telepathy-morse copied to clipboard

[Feature request] Add file support

Open ItachiSan opened this issue 8 years ago • 8 comments

I noticed that Empathy allows file send and receive. It would be nice to send and receive all usual Telegram contents (audio messages, videos, pictures et cetera) in file format.

ItachiSan avatar Mar 10 '16 08:03 ItachiSan

I implemented Media receiving in TelegramQt and full file transfer support in TelepathyQt, so it would be easy (1-3 hours) to implement "media message as file" receiving, but it is not the right way. User should be able to download "content" of arbitrary message, but, sadly, there is no Telepathy client with proper (or any) support of media messages.

Probably we have to implement this workaround (MediaMessage via FileTransfer).

Kaffeine avatar Mar 10 '16 09:03 Kaffeine

Well, we can also file a bug issue upstream for the major clients. In my case, it would be Empathy; anyways, there is a section in the Empathy client named "File transfert".

ItachiSan avatar Mar 10 '16 10:03 ItachiSan

Any progress?

ItachiSan avatar Jun 13 '16 07:06 ItachiSan

Not on this issue yet.

Yesterday I released TelepathyQt-0.9.7, then I should implement two-factors authorization in TelegramQt. The next priority task probably would be implementation of chat with a contact, known only by username. After that, I'll be back to multimedia messaging. I think that telegram layer update, which I have done months ago, could fix outgoing media messaging.

Kaffeine avatar Jun 13 '16 07:06 Kaffeine

Some progress in TelegramQt (backend of telepathy-morse): Today I pushed experimental support of Media upload. It does not work good: I had to limit block size by 256 bytes — the server drops connection otherwise. I have no idea what's wrong, but still, this is a big step forward. I'm sure that the fix shall not affect the API, so someone can start to implement file support in Morse. I think I will try to implement FileTransfer sometime this year, but:

  1. I would prefer to work on proper media messages support (which is not implemented anywhere, so we need to work on telepathy spec, telepathy connection manager and a client application),
  2. probably I will release telepathy-morse-0.1.0 without this feature sometime really soon.

Kaffeine avatar Sep 02 '16 14:09 Kaffeine

Don't know if this works. But for example conversations(XMPP client) posts images as direct link chat. TP clients like ktp do this too and can display such images. Maybe there's a similar way here too.

Thaodan avatar Apr 02 '17 15:04 Thaodan

I thought about a similar approach with built-in webserver but it could be resource-expensive and insecure.

Kaffeine avatar Apr 02 '17 22:04 Kaffeine

I pushed experimental support of Media upload. It does not work well: I had to limit block size by 256 bytes — the server drops connection otherwise.

I fixed the issue (https://github.com/Kaffeine/telegram-qt/commit/548fe6515427673f1c74a345cf5daf286c1cebfa) and would like to make it possible to send pictures. It will be the first little step to multimedia messages support.

Though

probably I will release telepathy-morse-0.2.0 without this feature sometime really soon.

Kaffeine avatar Jun 16 '17 12:06 Kaffeine