set dial-in clientType in html5 client
This commit is contained in:
parent
e2e83e08df
commit
79329d036a
@ -604,7 +604,7 @@ public class MeetingService implements MessageListener {
|
||||
logData.put("waitingForAcceptance", user.isWaitingForAcceptance());
|
||||
logData.put("event", "user_joined_message");
|
||||
logData.put("description", "User joined the meeting.");
|
||||
logData.put("clientType", "unknown");
|
||||
logData.put("clientType", user.getClientType());
|
||||
|
||||
Gson gson = new Gson();
|
||||
String logStr = gson.toJson(logData);
|
||||
@ -740,7 +740,7 @@ public class MeetingService implements MessageListener {
|
||||
if (message.userId.startsWith("v_")) {
|
||||
// A dial-in user joined the meeting. Dial-in users by convention has userId that starts with "v_".
|
||||
User vuser = new User(message.userId, message.userId,
|
||||
message.name, "DIAL-IN-USER", "no-avatar-url", true, false, "dial-in");
|
||||
message.name, "DIAL-IN-USER", "no-avatar-url", true, false, "DIAL-IN");
|
||||
vuser.setVoiceJoined(true);
|
||||
m.userJoined(vuser);
|
||||
}
|
||||
|
@ -88,7 +88,6 @@ export default function addUser(meetingId, user) {
|
||||
listenOnly: false,
|
||||
voiceConf: '',
|
||||
joined: false,
|
||||
clientType: 'dial-in__2',
|
||||
});
|
||||
|
||||
const cb = (err, numChanged) => {
|
||||
|
@ -38,7 +38,7 @@ export default function handleJoinVoiceUser({ body }, meetingId) {
|
||||
const USER_CONFIG = Meteor.settings.public.user;
|
||||
const ROLE_VIEWER = USER_CONFIG.role_viewer;
|
||||
|
||||
const modifier = {
|
||||
const modifier = { // web (Users) representation of dial-in user
|
||||
$set: {
|
||||
meetingId,
|
||||
connectionStatus: 'online',
|
||||
@ -56,7 +56,7 @@ export default function handleJoinVoiceUser({ body }, meetingId) {
|
||||
presenter: false,
|
||||
locked: false, // TODO
|
||||
avatar: '',
|
||||
clientType: 'dial-in__1',
|
||||
clientType: 'dial-in-user',
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,6 @@ export default function addVoiceUser(meetingId, voiceUser) {
|
||||
listenOnly: Boolean,
|
||||
voiceConf: String,
|
||||
joined: Boolean, // This is a HTML5 only param.
|
||||
clientType: String,
|
||||
});
|
||||
|
||||
const { intId } = voiceUser;
|
||||
|
Loading…
Reference in New Issue
Block a user