MCPcopy
hub / github.com/tinode/chat / InfoNotModifiedReply

Function InfoNotModifiedReply

server/datamodel.go:1176–1178  ·  view source on GitHub ↗

InfoNotModifiedReply response means update request was a noop in response to a client request (304).

(msg *ClientComMessage, ts time.Time)

Source from the content-addressed store, hash-verified

1174// InfoNotModifiedReply response means update request was a noop
1175// in response to a client request (304).
1176func InfoNotModifiedReply(msg *ClientComMessage, ts time.Time) *ServerComMessage {
1177 return InfoNotModifiedExplicitTs(msg.Id, msg.Original, ts, msg.Timestamp)
1178}
1179
1180// InfoNotModifiedExplicitTs response means update request was a noop
1181// with explicit server and incoming request timestamps (304).

Callers 5

replyOfflineTopicSetSubFunction · 0.85
replySetDescMethod · 0.85
replySetSubMethod · 0.85
replySetTagsMethod · 0.85
replySetAuxMethod · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…