efb-telegram-master icon indicating copy to clipboard operation
efb-telegram-master copied to clipboard

[FR] Keep the video name with the original file name

Open shejialuo opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

At now, the efb-telegram-master would wrap the video message with a temporary file to the slave. However, the problem is that the name would be changed to the temporary file name but not the original name, see the following example.

image

For slaves, when it uses msg.filename it could only get the tmpigih7v8l.mp4 such that losing the original information.

Describe the solution you'd like

Keep the video name consistent with the original file name. Don't change it to the temporary file name.

Describe alternatives you've considered

None.

Additional context

When developing the code for sending a video to the QQ. It's bad because the filename will be the filename of the temporary name. However, for the MsgType.File type, it is OK.

image

See https://github.com/ehForwarderBot/efb-qq-plugin-go-cqhttp/pull/68

shejialuo avatar Jun 14 '23 04:06 shejialuo