Skip to content

🐛 Bug Report: Don't Allow Empty Title & Message Body for Messaging #968

@ItzNotABug

Description

@ItzNotABug

👟 Reproduction steps

Currently it seems possible to use only white space to compose an empty Subject/Title & Message Body.
This causes one to send a completely empty message which may not be right (atleast for Push Notifs).

👍 Expected behavior

Don't allow sending empty messages.

👎 Actual Behavior

We can send empty messages.

🎲 Appwrite version

Version 1.5.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproduct / messagingFixes and upgrades for the Appwrite Messaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions