remove members from list groups response

This commit is contained in:
Jailson Dias 2026-02-25 09:14:16 -03:00
parent 72abbe2aa3
commit 0ed6f39c3e
2 changed files with 6 additions and 4 deletions

View File

@ -40,8 +40,7 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
update-locale LANG=en_US.UTF-8
ENV JAVA_OPTS="-Djdk.lang.Process.launchMechanism=vfork"
ENV LANG en_US.UTF-8
ENV LANG=en_US.UTF-8
RUN go install github.com/swaggo/swag/cmd/swag@v${SWAG_VERSION}
@ -192,7 +191,7 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANG=en_US.UTF-8
EXPOSE ${PORT}

View File

@ -1321,7 +1321,10 @@ func (s *SignalClient) GetGroups(number string) ([]GroupEntry, error) {
if identifier == "" {
identifier = val.Uuid
}
members = append(members, identifier)
if identifier == number {
members = append(members, identifier)
}
}
groupEntry.Members = members