mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.2k stars 1.33k forks source link

Can't send standard emojis picked from autocomplete in mobile application. #4582

Closed SponToN83 closed 1 year ago

SponToN83 commented 4 years ago

Summary Can't send standard MM emoji when it is picked from autocomplete picker.

Steps to reproduce start typing :_NAME_OF_EMOJI pick it from autocomplete picker. Emoji is showed in input. Send Emoji. Emoji is showing with error after i and it is not delivered. Retrying makes no difference. Custom emojis are working properly. One difference is that after picking custom emoji from picker instead of icon there is an alias typed :EMOJI_NAME:. One more thing is that when standard emoji is just typed instead of picking from autocomplete it is also delivered properly.

Expected behavior Standard Emoji picked after typing part of name is delivered properly.

Server side error: {"level":"error","ts":1594929846.1196952,"caller":"mlog/log.go:175","msg":"Invalid or missing name parameter in request URL.","path":"/api/v4/emoji/autocomplete","request_id":"r71dss5uair9pyk9r1rrwad1qa","ip_addr":"XXX.XXX.XXX.XXX","user_id":"XXXXXXXXXXXXXXXXX","method":"GET","err_where":"Context","http_code":400,"err_details":""}

MM Version: 5.25.0 Mobile App: Android 1.31 Device: Samsung A71, Motorola One Vision (I think this is irrelevant)

amyblais commented 4 years ago

@SponToN83 We are unable to reproduce this internally. Do you also see this on v1.33.1?

SponToN83 commented 4 years ago

Yes I have this version. 1.33.1 (Build 311).

SponToN83 commented 4 years ago

Reactions emoji picker is working ok.

SponToN83 commented 4 years ago

How can I help you with investigating this issue ? Do you need any more info ?

amyblais commented 4 years ago

Are you able to reproduce this on different servers such as https://community.mattermost.com?

@josephbaylon Do you reproduce this?

SponToN83 commented 4 years ago

It looks ok on this server.

amyblais commented 4 years ago

@SponToN83 Do you experience the same on browser?

SponToN83 commented 4 years ago

Only on mobile. On browser and windows application is ok

amyblais commented 4 years ago

@SponToN83 Does it happen with all standard emojis or specific ones?

SponToN83 commented 4 years ago

I've tested it on several of theme and it was the same effect for all of them. It is weird that on community server it was ok. Maybe there is a problem with server installation / configuration.

amyblais commented 4 years ago

Our support team may be able to help better - you can email them at feedback@mattermost.com.

zxqdx commented 4 years ago

We use Teams Edition (Mattermost 5.25) and have the same issue.

{
    "level": "error",
    "ts": 1596851939.9436836,
    "caller": "mlog/log.go:175",
    "msg": "Invalid or missing name parameter in request URL.",
    "path": "/api/v4/emoji/autocomplete",
    "request_id": "p6wdiqeb9ffpzdws8kcaaqzexr",
    "ip_addr": "*.*.*.*",
    "user_id": "************************",
    "method": "GET",
    "err_where": "Context",
    "http_code": 400,
    "err_details": ""
}

The same message does work when sending via a desktop or mobile web browser. It just doesn't work on the Andriod and iOS Mattermost app.

lifepillar commented 2 years ago

Any update on this? I have this issue with Mattermost on iOS (but not on desktop): messages containing emojis don't go through.

App version: 1.48.2 (Build 382) Server Version: 6.0.0 Database: mysql

larkox commented 1 year ago

@lifepillar Are you still seeing this issue? Can you try on the latest beta version (V2)?

lifepillar commented 1 year ago

@larkox I'm afraid I can't help, as I am not using Mattermost mobile any longer, sorry!

larkox commented 1 year ago

Then I will close this issue. If anyone is still suffering from this, please reopen the issue.