Server
- When `onOutgoing(Message, QUeue)` is called lookup the `User*`s for the source and destination from the provided `Message`
This commit is contained in:
parent
dff66decae
commit
cef970944a
|
@ -236,6 +236,12 @@ public class Server : MessageDeliveryTransport
|
||||||
// TODO: Implement me
|
// TODO: Implement me
|
||||||
logger.info("Outgoing stub with latest ", latest, "from queue ", from);
|
logger.info("Outgoing stub with latest ", latest, "from queue ", from);
|
||||||
|
|
||||||
|
// Lookup the user (source)
|
||||||
|
User* fromUser = this.authManager.getUser(latest.getFrom());
|
||||||
|
|
||||||
|
// Lookup the user (destination)
|
||||||
|
User* toUser = this.authManager.getUser(latest.getDestination());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue